Occasionally the Quick Time High Speed video will not show the controller bar (with pause, volume, etc..)
Here is the chunk of the script in question:
_________________________________________________________
if ($contents{'Connection'} eq 'high')
{
if ($contents{'Player'} eq 'WMP')
{
$movie = $contents{'WMCAB'};
}
else
{
$movie = $contents{'QTCAB'};
}
$height = '340';
$width = '390';
}
else
{
if ($contents{'Player'} eq 'WMP')
{
$movie = $contents{'WM56K'};
}
else
{
$movie = $contents{'QT56K'};
}
$height = '224';
$width = '256';
}
if ($contents{'Player'} eq 'WMP')
{
print "<OBJECT ID='MediaPlayer' WIDTH='$width' HEIGHT='$height' CLASSID='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' TYPE='application/x-oleobject'>","\n";
print "<PARAM NAME='FileName' VALUE='http://www.domainname.com/homeflite/$movie'>","\n";
print "<PARAM NAME='autostart' VALUE='1'>","\n";
print "<PARAM NAME='showcontrols' VALUE='1'>","\n";
print "<EMBED TYPE='application/x-mplayer2' SRC='http://www.domainname.com/homeflite/$movie' WIDTH='$width' HEIGHT='$height' AUTOSTART='1' SHOWCONTROLS='1'>","\n";
print "</EMBED></OBJECT>","\n";
}
else
{
print "<OBJECT CLASSID='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' WIDTH='$width' HEIGHT='$height' CODEBASE='http://www.apple.com/qtactivex/qtplugin.cab'>","\n";
print "<PARAM name='SRC' VALUE='http://www.domainname.com/homeflite/$movie'>","\n";
print "<PARAM name='AUTOPLAY' VALUE='false'>","\n";
print "<PARAM name='CONTROLLER' VALUE='true'>","\n";
print "<EMBED SRC='http://www.domainname.com/homeflite/$movie' WIDTH='$width' HEIGHT='$height' AUTOPLAY='false' CONTROLLER='true' PLUGINSPAGE='http://www.apple.com/quicktime/download/'>","\n";
print "</EMBED></OBJECT>","\n";
}
__________________________________________________________
Now, it actually says right in the code that the controller should be visible, but for some odd reason is not showing up on some videos.
If I set autoplay to true, the video plays, you just can't pause or stop it or anything.. I need the controller!
Any ideas of what could cause that?