[Bug 194102] [NEW] Webpage hangs on playing background music

ToeCurler h.tenrouwelaar at hccnet.nl
Thu Feb 21 19:34:02 UTC 2008

Public bug reported:

Ububtu gutsy gibon with the most recent updates.
Firefox version

I build some websites where "background sound" is being played on several differend pages.
fter some "Googling" I found a piece of html code that plays background sound in IE as well in Firefox. See code below:

<script language="JavaScript" type="text/javascript">
if (navigator.appName == "Microsoft Internet Explorer") {
document.write('<bgsound src="Music.mp3" LOOP="false">');
else {
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="fill place.mp3" AutoStart="true" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" volume="1" HEIGHT="1" WIDTH="1" loop="false"><br>');
// End -->

This works OK in IE. However in Firefox background music plays correct only when started 1 time on the first webpage that is opened.
If one jumps to and fro between pages with background music the "download cursor style" keeps there forever. You have to restart Firefox to solve this.
My suspision is that Firefox starts downloading the player-plugin 2 or more times after each other thereby overwriting itself.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

Webpage hangs on playing background music
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in ubuntu.

More information about the Ubuntu-mozillateam-bugs mailing list