FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Onload sound..

 


Diablosblizz
Hey, I was wondering if it was possible to run a sound file from my server?
ncwdavid
I don'y think Frihost allows you to upload mp3 music files to your account if you don't have the rights to them. You are allowed upload them if you own the song or whatever. I think this will work but im not 100% sure what you mean.
Code:
<embed src="yoursong.mp3"
width=25 height=25 autostart=false repeat=true loop=true> </embed>
Diablosblizz
Sorry, but Im not using Frihost anymore.. I had way to much downtime..

Will that show a radio box thing? I wan't it to be invisible and it doesn't replay over a million times (I can just change the infinate to false or none)..
varun_dodla
Hi I don't know if I understand what you said but if what you need is a background sound that plays on page load you can use the bgsound object but i think this works only for IE. The link below must give you more info.

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/BGSOUND.asp

Hope this helps.
Fuzzy-Duck
I'm not sure if you want to play a sound/music on a particular webpage, of you simply want to link to an audio file, but either way the following web page may be of some help;

http://webtips.dan.info/sounds.html

Also touched upon are the different format choices and using the <object> tag - worth a read if you're interested in accessability & standards.

Hope this helps,

fuzzy
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.