I'm using the code listed below to stream some original video onto my site with an embedded media player.
However, I find that while viewing my site in IE 7.0, if I click below the side navigation bar (doesn't seem to be a problem so much when sliding it) a black rectangle is left on the screen.
Is there another media player code that anyone knows of that will be highly compatible with all of the major browsers (without requiring a download for most viewers) that will not result in the problem I'm having?
<script language="JavaScript">
<!--
if ( navigator.appName == "Netscape" )
{
navigator.plug-ins.refresh();
}
//-->
</script>
<OBJECT ID="MediaPlayer" WIDTH=170 HEIGHT=166 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://psychicdeals.com/welcomewmv.wmv">
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="0">
<PARAM NAME="AutoSize" VALUE="1">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/"
filename="http://psychicdeals.com/welcomewmv.wmv"
src="http://psychicdeals.com/welcomewmv.wmv"
Name=MediaPlayer
ShowControls=1
ShowDisplay=0
ShowStatusBar=0
width=170
height=166>
</embed>
</OBJECT>
|