W 2000 & FF 3.6.1 will not play code >> <bgsound src="AmazingGraceLV.mp3" loop="-1">
Windows 2000 on my desktop & Firefox 3.6.0 I have the following code on a web page. The file plays on my Laptop with XP and the latest Internet Explorer, but not on the W 2000 machine. I tried to download the plug in I found, but it's only for XP and above.
Plug In wmpfirefoxplugin.exe
Code <bgsound src="AmazingGraceLV.mp3" loop="-1">
所有回覆 (3)
bgsound is non-standard coding and only works in Internet Explorer.
You could try replacing it with this:
<embed type="application/x-mplayer2" src="AmazingGraceLV.mp3" height="0" width="0" autostart="1">
<noembed><bgsound src="AmazingGraceLV.mp3" loop="-1"> </noembed>
Also see http://kb.mozillazine.org/Background_music_does_not_play
I tried both below. Neither worked. Both were inside the <head> </head> code area. +++++++++++++++++++++ <embed type="application/x-mplayer2" src="AmazingGraceLV.mp3" height="0" width="0" autostart="1"> <noembed><bgsound src="AmazingGraceLV.mp3" loop="-1"> </noembed> +++++++++++++++++++++ <object data="AmazingGraceLV.mp3" type="application/x-mplayer2" width="0" height="0">
<param name="filename" value="AmazingGraceLV.mp3"> <param name="autostart" value="1"> <param name="playcount" value="true">
</object> +++++++++++++++++++++ web page URL http://www.gbgm-umc.org/washingtonhillumc/
Since this is a web development issue rather than a Firefox problem, you would be better off asking this in the web development forum at mozillazine - - http://forums.mozillazine.org/viewforum.php?f=25