<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
body {
margin:0;
padding:0;
text-align:center;
}
</style>
<script type="text/javascript">
var detect = navigator.userAgent.toLowerCase();
var OS,browser,thestring;
var theFile="Your.wmv";[COLOR=red]//the file you wish to play[/color]
function checkIt(string)
{
place = detect.indexOf(string) + 1;
thestring = string;
return place;
}
</script>
</head>
<body>
<div id="player">
<script type="text/javascript">
if (checkIt('msie')&&checkIt('windows')){
document.getElementById('player').innerHTML='<object width="500" height="345" '
+'classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" '
+'codebase="[URL unfurl="true"]http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"'[/URL]
+'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
+'<param name="url" value="'+theFile+'">'
+'<param name="uiMode" value="full">'
+'<param name="autoStart" value="true">'
+'<param name="loop" value="true">'
+'<\/object>';
}
else {
document.getElementById('player').innerHTML='<embed src="'+theFile+'" style="width:500px;height:345px;" showcontrols="true" autostart="true"></embed>';
}
</script>
</div>
</body>
</html>