EnlightenedOne Posted February 12, 2007 Posted February 12, 2007 ok so i need some help with some HTML codes and such. i need to embed a sound file onto ma site. and so far im using : <EMBED src="//images.weserv.nl/?url=http://www.webpost.net/ki/Kiba/Otherworld.mp3" width="144" height="60" autostart="true" loop="true" /> however i have found that this is not ompatible with firefox. which is what i and most of my friends use. so...any ideas? oh yeah....and that was compatible not ompatible, jus incase..
webpixie Posted February 12, 2007 Posted February 12, 2007 if you MUST use auto start background music(somthign i am completly against) try the code lsited here thats for opera http://www.thesitewizard.com/webdesign/backgroundmusic.shtml you can also go this method --- err removed that link realized after reading thaht that one wont work..
EnlightenedOne Posted February 12, 2007 Author Posted February 12, 2007 ok kool. thanks webpixie! yeah, this is just a site for my experimentation and stuff, no one actually visits but me. so yeah. so still no firefox compatibility??
webpixie Posted February 12, 2007 Posted February 12, 2007 ifthe opera dosnt work id be suprised since they are firefox are close to eachotehr code wise, otherwise just more google serching i know it can work because ive had auto background play in firefox.. just tell your friends to open another browser for your website.. lol im sure they ahve another on their system.
.Dan. Posted February 12, 2007 Posted February 12, 2007 I told him that if he needed coding help for his forum, he could always ask on here, and it seems he actually listened. Thanks webpixie for helping him out!
EnlightenedOne Posted February 12, 2007 Author Posted February 12, 2007 go away dan. you are not needed in this thread Mod Edit: Guys. Seriously. No fighting!
Matt Posted February 13, 2007 Posted February 13, 2007 Guys. Stop fighting please. It's not the place to do it. Heck, there is no place to do it! Just stop, please. And I believe the code you are looking for is the <OBJECT> tag. I came accross it when I was... urr... planning something secret... <object width="144" height="60"> <param name="sound" value="http://www.webpost.net/ki/Kiba/Otherworld.mp3"> <embed src="//images.weserv.nl/?url=http://www.webpost.net/ki/Kiba/Otherworld.mp3" width="144" height="60" autostart="true" loop="true"> </embed> </object> But I'm afraid I don't know how to make it autostart or loop in that coding. Sorry.
EnlightenedOne Posted February 13, 2007 Author Posted February 13, 2007 ohhh.. so this is the one that will work on firefox and IE? screw opera, no one uses it. i'll try it out after skool
Samuel Posted February 13, 2007 Posted February 13, 2007 I'd be using something along the lines of: <embed src="//images.weserv.nl/?url=http://www.thedailyneopets.com/tdnlivecomingsoonsshthisisasecret.mp3" autostart="true" loop="-1"/> That SHOULD work in both IE and FF? If it doesn't try this, I found it via Google: <object data="http://www.thedailyneopets.com/tdnlivecomingsoonsshthisisasecret.mp3" type="application/x-mplayer2" width="0" height="0"> <param name="src" value="http://www.thedailyneopets.com/tdnlivecomingsoonsshthisisasecret.mp3" /> <param name="autostart" value="1" /> <param name="playcount" value="infinite" /> </object> But, using autostarting looping music? I'd kill you, not least never return. I have my own music on for a reason ;)
The Big Cheese Posted February 13, 2007 Posted February 13, 2007 SOmething secret eh! I never understood the object tage... o_O
kikaown Posted February 15, 2007 Posted February 15, 2007 Is it just a coincidence that the object tag mentions TDN Live?
Samuel Posted February 15, 2007 Posted February 15, 2007 Ermmm.....Ssshhhh =] That's just an example file. ;)
Matt Posted February 18, 2007 Posted February 18, 2007 Wow, you're a great keeper of secrets, aren't you. <_< Yeah. With limited knowledge of that area, it looks like it'd work. But no promises.
Recommended Posts