title: Firefox and Opera do not finish loading webpage with an embedded Windows Media Player file
body: <p>BROWSERS CAUSING PROBLEM:
  Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
  Opera/9.80 (Windows NT 6.1; U; en) Presto/2.2.15 Version/10.10</p>
  
  <p>CLIENT MACHINE:
  Windows 7 Ultimate 64-bit, 4 GB RAM, 250 GB HD, 2.3 GHz.</p>
  
  <p>TEST WEBSITE: <a href="http://www.microwavecontrolledfusion.us" rel="nofollow noreferrer">http://www.microwavecontrolledfusion.us</a></p>
  
  <p>I have no problems loading the website files if loacated directly on my home computer (local access) under any browser (i.e. IE, FF, Opera, Safari, Chrome, Macintosh). The MP4 file plays fine under all browsers (IE, FF, Opera, Safari, Chrome, Mac Safari). When accessing over the web, only Firefox and Opera stall on loading when the website is the only tab opened. If another tab is opened, then this stalling does not take place, and the page loads and works fine. IE, Chrome, Safari, and Macintosh all load fine and work great.</p>
  
  <p>The HTML interfaces via calling javascript function GenerateWMP loacted in an external movie.js file. The contents of this file are:</p>
  
  <pre><code>//-----------------------------------------------------------
  // Writes the correct PromoClip object depending upon browser:
  //-----------------------------------------------------------
  function GenerateWMP()
  {
    if (IsMac || Safari)
    {
      if (IsMac)
      {
        document.write('&lt;OBJECT id="PromoClip" style="width:320px;height:256px;z-index: 1" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"&gt;');
      }
      else
      {
        document.write('&lt;OBJECT id="PromoClip" style="width:320px;height:256px;" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"&gt;');
      }
      document.write('  &lt;PARAM name="src"      value="docs/Low Density Pre-Experimental Promo.mp4"&gt;');
      document.write('  &lt;PARAM name="autoplay" value="false"&gt;');
      document.write('  &lt;EMBED src="docs/Low Density Pre-Experimental Promo.mp4" width="320" height="256" pluginspage="http://www.apple.com/quicktime/download/" id="Promo" name="Promo" autoplay="false" bgcolor="black"&gt;&lt;/');
    }
    else
    {
      document.write('&lt;OBJECT id="PromoClip" style="width:320px; height:304px;" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/ mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"&gt;');
      document.write('  &lt;PARAM name="fileName"           value="docs/Low Density Pre-Experimental Promo.mp4"&gt;');
      document.write('  &lt;PARAM name="animationatStart"   value="true"&gt;');
      document.write('  &lt;PARAM name="transparentatStart" value="false"&gt;');
      document.write('  &lt;PARAM name="autoStart"          value="false"&gt;');
      document.write('  &lt;PARAM name="showControls"       value="true"&gt;');
      document.write('  &lt;PARAM name="showStatusBar"      value="true"&gt;');
      document.write('  &lt;PARAM name="loop"               value="false"&gt;');
      document.write('  &lt;EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="Promo" name="Promo" displaysize="4" autosize="-1" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="true" videoborder3d="-1" width="320" height="304" src="docs/Low Density Pre-Experimental Promo.mp4" autostart="false" designtimesp="5311" loop="false"&gt;&lt;/');
    }
    document.write('EMBED&gt;');
    document.write('&lt;/');
    document.write('OBJECT&gt;');
  }
  </code></pre>
  
  <p>The HTML from a table column that invokes this function is:</p>
  
  <pre><code>&lt;TD class="mid" id="d0_c" style="width:320px;height:304px;vertical- align:top;cursor:pointer;background:url('img/clear.png') center top no-repeat" onClick="if (running==0) {MovieStart();}"&gt;&lt;DIV id="Movie"&gt;&lt;SCRIPT type="text/javascript" language="JavaScript1.1"&gt;GenerateWMP();document.close();&lt;/SCRIPT&gt;&lt;/DIV&gt;&lt;/TD&gt;  
  </code></pre>
  
  <p>I have already experimented with Quicktime Player and found the same problems.
  This loads right only when I have nother tab already opened. I therefore believe this must be a browser bug. I'd like to know the cause of the stalling, and be able to fix this for Firefox and Opera, if possible. Any clarification would be appreciated, even if only to confirm that this is a known bug.</p>