EnlightenedOne Posted February 12, 2007 Share 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.. Link to comment Share on other sites More sharing options...
webpixie Posted February 12, 2007 Share 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.. Link to comment Share on other sites More sharing options...
EnlightenedOne Posted February 12, 2007 Author Share 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?? Link to comment Share on other sites More sharing options...
webpixie Posted February 12, 2007 Share 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. Link to comment Share on other sites More sharing options...
.Dan. Posted February 12, 2007 Share 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! Link to comment Share on other sites More sharing options...
EnlightenedOne Posted February 12, 2007 Author Share Posted February 12, 2007 go away dan. you are not needed in this thread Mod Edit: Guys. Seriously. No fighting! Link to comment Share on other sites More sharing options...
Matt Posted February 13, 2007 Share 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. Link to comment Share on other sites More sharing options...
EnlightenedOne Posted February 13, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
Samuel Posted February 13, 2007 Share 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 ;) Link to comment Share on other sites More sharing options...
The Big Cheese Posted February 13, 2007 Share Posted February 13, 2007 SOmething secret eh! I never understood the object tage... o_O Link to comment Share on other sites More sharing options...
kikaown Posted February 15, 2007 Share Posted February 15, 2007 Is it just a coincidence that the object tag mentions TDN Live? Link to comment Share on other sites More sharing options...
Samuel Posted February 15, 2007 Share Posted February 15, 2007 Ermmm.....Ssshhhh =] That's just an example file. ;) Link to comment Share on other sites More sharing options...
Matt Posted February 18, 2007 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts