Computing.Net > Forums > Programming > Mozilla Embedded Sound

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.

Mozilla Embedded Sound

Reply to Message Icon

Name: lucky1
Date: December 24, 2004 at 17:17:10 Pacific
OS: win98se
CPU/Ram: 1.4 AMD / 512
Comment:

Hi and Help needed,

When I try to embed a (.wav or .mp3) sound track into my website using Mozilla FireFox 1.0 as the browser, the music runs for a few stanzas, then quits.

It works fine when in EI or Opera. The code I am using is as follows:

<script type= "" language="Javascript">
if (navigator.userAgent.indexOf('MSIE') > -1)
{
document.write('<bgsound src="happy.mp3" loop="0">');
} else {
document.write('<embed src="happy.mp3" autostart=true hidden=true loop="0">');
}
</script>

Any ideas as to how to fix ?????

And Happy Holidays to All

lucky1



Sponsored Link
Ads by Google

Response Number 1
Name: not_even_time
Date: December 30, 2004 at 12:34:13 Pacific
Reply:

HI,
the <embed> tag uses an plugin to run I.E windows media player, quicktime. i would recommend trying an flash movie or java applet that is if you have the time to learn any of those. The plugins needed are much moore spread and are moore or less platform independent. hope it helped :).

There he goes. One of God's own prototypes. Some kind of high powered mutant never even considered for mass production. Too weird to live, and too rare to die


0

Response Number 2
Name: lucky1
Date: December 31, 2004 at 07:37:48 Pacific
Reply:

Thanks to not_even_time,

I found the error - It was a corrupted QuickTime program !!!!!

Thanks for your response and a "HAPPY NEW YEAR TO ALL"

LUCKY1


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Mozilla Embedded Sound

Sound priority in Windows www.computing.net/answers/programming/sound-priority-in-windows/6111.html

DLL and Embedded Programming www.computing.net/answers/programming/dll-and-embedded-programming/14234.html

Securing File Objects in Web App www.computing.net/answers/programming/securing-file-objects-in-web-app/8355.html