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
CLIENT MACHINE: Windows 7 Ultimate 64-bit, 4 GB RAM, 250 GB HD, 2.3 GHz.
TEST WEBSITE: http://www.microwavecontrolledfusion.us
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.
The HTML interfaces via calling javascript function GenerateWMP loacted in an external movie.js file. The contents of this file are:
//-----------------------------------------------------------
// Writes the correct PromoClip object depending upon browser:
//-----------------------------------------------------------
function GenerateWMP()
{
if (IsMac || Safari)
{
if (IsMac)
{
document.write('<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">');
}
else
{
document.write('<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">');
}
document.write(' <PARAM name="src" value="docs/Low Density Pre-Experimental Promo.mp4">');
document.write(' <PARAM name="autoplay" value="false">');
document.write(' <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"></');
}
else
{
document.write('<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">');
document.write(' <PARAM name="fileName" value="docs/Low Density Pre-Experimental Promo.mp4">');
document.write(' <PARAM name="animationatStart" value="true">');
document.write(' <PARAM name="transparentatStart" value="false">');
document.write(' <PARAM name="autoStart" value="false">');
document.write(' <PARAM name="showControls" value="true">');
document.write(' <PARAM name="showStatusBar" value="true">');
document.write(' <PARAM name="loop" value="false">');
document.write(' <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"></');
}
document.write('EMBED>');
document.write('</');
document.write('OBJECT>');
}
The HTML from a table column that invokes this function is:
<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();}"><DIV id="Movie"><SCRIPT type="text/javascript" language="JavaScript1.1">GenerateWMP();document.close();</SCRIPT></DIV></TD>
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.