Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Name: Jamie_McCoy
Ive spent the last week of my time putting together a music website, it looks excellent!
however, after spending a lot time testing it worth Firefox and making alterations so it displays fine, i still cant get the embeded tag to work
<embed src="kayne/songs/dropout/dropoutplay.wma" width="0" height="0" autostart="truE" hidden="flase" loop="true"></embded>
i really need this to work in firefox...
please help

Hi,
I don't know if this is what you want, but this embeded src works for me (after much anguish).
---------------------------
<SCRIPT language="JavaScript">var MSIE=navigator.userAgent.indexOf("MSIE");
var NETS=navigator.userAgent.indexOf("Netscape");
var OPER=navigator.userAgent.indexOf("Opera");
if((MSIE>-1) || (OPER>-1)) {
document.write("<BGSOUND SRC=Tobacco.wav LOOP=0>");
} else {
document.write("<EMBED SRC=Tobacco.wav AUTOSTART=TRUE")
document.write(" HIDDEN=true VOLUME=200 LOOP=0>");
}
</SCRIPT>lucky1

nope didnt work
im just wondering if for some reason in firefox it doesnt except embeded / bgsound tags...
because both dont work in firefox, but both work in IE

Hi Jamie,
I use the script and it works with Opera, IE and Firefox browsers.
<head>The script must be placed in this section </head>.
lucky1

what im saying though, that script only detects browser and echoes out either bgsound or embed
neither tags work in mozilla

Mozilla supports embed.. if you can't get it to work you're doing it wrong...
Mozilla just doesn't support WMA audio. WMA is a microsoft format (Windows Media Audio)
Put it into MP3 or Wav or something less restrictive

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |