Computing.Net > Forums > Web Development > Firefox No No, IE Yes Yes

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Firefox No No, IE Yes Yes

Reply to Message Icon

Name: Jamie_McCoy
Date: October 14, 2004 at 08:50:09 Pacific
OS: XP Pro 5.1
CPU/Ram: Pentium 4 2.4Ghz
Comment:

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

Jaymc.co.nr



Sponsored Link
Ads by Google

Response Number 1
Name: lucky1
Date: October 14, 2004 at 14:46:20 Pacific
Reply:

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


0

Response Number 2
Name: Jamie_McCoy
Date: October 14, 2004 at 18:12:58 Pacific
Reply:

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

Jaymc.co.nr


0

Response Number 3
Name: lucky1
Date: October 15, 2004 at 07:46:19 Pacific
Reply:

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


0

Response Number 4
Name: Jamie_McCoy
Date: October 15, 2004 at 09:28:49 Pacific
Reply:

what im saying though, that script only detects browser and echoes out either bgsound or embed

neither tags work in mozilla

Jaymc.co.nr


0

Response Number 5
Name: BobPaul
Date: November 20, 2004 at 08:51:07 Pacific
Reply:

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


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Firefox No No, IE Yes Yes

No right click revisited www.computing.net/answers/webdevel/no-right-click-revisited/1601.html

java script pop up www.computing.net/answers/webdevel/java-script-pop-up/1975.html

New window with pic *QUESTION* www.computing.net/answers/webdevel/new-window-with-pic-question/531.html