I have embedded a windows media file into an html page and it shows quite well in firefox. However it is not showing in Internet Explorer 6. Can anyone help? Here is the code;
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script language="JavaScript" type="text/javascript">
var full_version = 0
var ie_start = navigator.appVersion.indexOf("MSIE")
if (ie_start != -1) {
var version_string = navigator.appVersion.substring(ie_start + 5)
full_version = parseFloat(version_string)
}
</script>
</head>
<body>
<OBJECT ID="MediaPlayer" width=320 height=310 classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" standby= "Loading Media Player" type="application/x-oleobject">
<PARAM NAME="taylia" VALUE="images/taylia.wmv">
<PARAM NAME="AutoStart" Value="True">
<PARAM NAME="ShowControls" VALUE="True">
<PARAM NAME="ShowStatusBar" VALUE="True">
<EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" SRC="images/taylia.wmv" width=320 height=310 autostart="True" ShowStatusBar=1 ShowControls=1 >
</EMBED>
</OBJECT><br>
<FORM name="MediaForm">
<SELECT NAME="VidChange" onChange="{document.MediaPlayer.FileName = document.MediaForm.VidChange.options[document.MediaForm.VidChange.selectedIndex].value}">
<OPTION VALUE="images/taylia.wmv" selected>Taylia Sports Day
</SELECT>
Loop:
<INPUT TYPE="checkbox" NAME="VidRepeat" onClick="{if ( document.forms.MediaForm.VidRepeat.checked == true){document.MediaPlayer.PlayCount = 999}else {document.MediaPlayer.PlayCount = 1 }}">
</FORM>
</body>
</html>