rejetto forum

Adding Music on Your Server

talis · 16 · 6935

0 Members and 1 Guest are viewing this topic.

Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile
I have been working on playing music automatically in background when someone is in my server , it worked and was ok.

The command i used was

<bgsound src="mdc.mp3 loop="2">

So now what i want to ask is that how can i autoplay music even if user changes it's page (while browsing other pages or folders)

I have searched alot about it, but in the end i figured it out that while browsing music can only be played when your server or website is made on Flash.

Is there any one here how have done this thing using HFS

I would appretiate your Replies.

Regards Talis
Since 1986


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
in your template, insert the macro {.play system event|c:\ .......\sound.wav.}


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
@mars
mmm, i think your solution will play music on the server instead of the browser

@talis
click "search", and type: background music


Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile
@mars
bro i have no idea about macros, havnt ever worked on it

@rejetto
i have seacrhed code for bgmusic on google and have found some thing. But its 50% of what i wanted to do.

I want to play the music continusly even if i have changed that page.


Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile
Sorry dude's!

Actually i didnt clearified the question well in the beginning

I appology for that

any ways if anyone of you have idea about how to play continuous music while browsing other page on server please do tell me

regards Talis


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile
ohh!  :)

I was confused about where u were indicating me to go

Any ways thanks Dude, it worked i have done it  ;D

Thanks


Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile

Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile
hi

Dude! as i have told u i have done the procedure of making form and it worked.
It worked fine for my front of view, means that when i open the website it was working Ok.

But there is problem from users end, ie when they are opening the page the music files opens for downloading. and it is not playing at their ends.  :(

Please help me solve it

Regards Talis


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
post the html code you are using to play the music


Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
your mp3 is 3.5MB
with your upload speed it takes 1-2 minutes for your visitors to download it.
i guess this is the reason.

anyway, i don't know if bgsound is compatible with firefox


Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile
you were watching ma server  :)

how was it?

and was the music playing at your side or downloading box appeared?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
being admin of this forum, i can see the IP address from where you are posting.
i just guessed it was the same address of your HFS server.

it's playing on my IE, not on firefox.
it takes minutes, anyway.
you can use a 400kb (max) file or use a flash to stream the music while it is loading.


Offline talis

  • Occasional poster
  • *
    • Posts: 16
    • View Profile
yes dude i know that

i can also see ma external Ip

about the flash i am learing action script to add music inside it

besides that i want to know that plz tell me that if u can see my HTML code

i mean my complete html code