hey guys- i'm having problems getting music to play in FF. It plays in IE but not in FF. http://gi2online.com/ is the site. <bgsound src="01_Godsmack - Greed.wav" loop="-1"> is the code. why am i unable to hear it in FF?
You're using a proprietary HTML attribute, which is why it isn't working. You need to use the OBJECT element instead. I strongly suggest you read Bye Bye Embed by Elizabeth Castro (A List Apart) for information on how to do this. Also, I suggest you use a link to open a new window that will contain the page with your audio file (think of it as a "poor man's media player") so that people aren't bombarded by the music (good taste by the way) when the load the page and also don't have to reload it every time they open a new page. You can learn how to do this by reading The Perfect Popup by Ian Lloyd (Accessify.com).
thanks dan...interesting read... i got it to work but i can't make it loop around now.... http://gi2online.com/index_test.html code: <object type="video/x-ms-wmv" data="01_Godsmack - Greed.wav" loop="-1" > <param name="src" value="http://www.gi2online.com/01_Godsmack - Greed.wav" loop="-1" » /> <param name="autostart" value="true" /> <param name="controller" value="true" /> </object>
well i have it like this now... and it doesn't work still... <object type="video/x-ms-wmv" data="01_Godsmack - Greed.wav" > <param name="src" value="http://www.gi2online.com/01_Godsmack - Greed.wav" loop="-1" /> <param name="autostart" value="true" /> <param name="controller" value="true" />
I can't find anything that will let you do that using a .wmv file. You might want to consider using Flash and a small dash of ActionScript for that instead. A real bummer (in your site's case), too.