高手 帮忙解决下 怎么样关闭视频播放器
代码如下:
<script language="javascript" event="onkeydown" for="document" type="text/javascript">
function document.onkeydown()
{
var button = document.getElementById('ImageButton1');
var button2 = document.getElementById('ImageButton3');
var t3 = document.getElementById('Text3');
var t1 = document.getElementById('Text1');
if(event.keyCode == 13)
{
if(t3.value=="")
{
button.click();
}
if(t1.value=="")
{
button2.click();
closediv();
}
event.returnValue = false;
}
}
</script>
</head>
<body onscroll="oip.style.top=document.body.scrollTop+document.body.clientHeight-oip.offsetHeight">
<form name="form1" method="post" action="index.aspx" onSubmit="javascript:return WebForm_OnSubmit();" id="form1">
<script type="text/javascript">
<!--
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</script>
<script src="/WebResource.axd?d=xoEHGsB9uXBIP7vKYCFO8w2&t=633720240533281250" type="text/javascript"></script>
<DIV id="oip" STYLE="border-style:double; border-width:0; position: absolute; width: 220; height: 230; right: 10; bottom: 0px; background-color:#ffffFF" >
<div style="text-align:right; font-size:12px; color:#000000; border-bottom: 1;"><em><a href="javascript:__doPostBack('LinkButton3','')" id="LinkButton3" style="color:#000000;" >
×</a></em></div>
<OBJECT id="player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
VIEWASTEXT style="width: 220px; height: 230px">
<PARAM NAME="URL" VALUE="1.wmv">
<PARAM NAME="rate" VALUE="1">
<param name="ShowControls" value="1">
<param name="ShowDisplay" value="0">
<PARAM NAME="balance" VALUE="0">
<PARAM NAME="currentPosition" VALUE="0">
<PARAM NAME="defaultFrame" VALUE="">
<PARAM NAME="playCount" VALUE="1">
<PARAM NAME="autoStart" VALUE="-1">
<PARAM NAME="currentMarker" VALUE="0">
<PARAM NAME="invokeURLs" VALUE="0">
<PARAM NAME="baseURL" VALUE="">
<PARAM NAME="volume" VALUE="50">
<PARAM NAME="mute" VALUE="0">
<PARAM NAME="uiMode" VALUE="Full">
<PARAM NAME="stretchToFit" VALUE="0">
<PARAM NAME="windowlessVideo" VALUE="0">
<PARAM NAME="enabled" VALUE="-1">
<PARAM NAME="enableContextMenu" VALUE="-1">
<PARAM NAME="fullScreen" VALUE="0">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIFilename" VALUE="">
<PARAM NAME="captioningID" VALUE="">
<PARAM NAME="enableErrorDialogs" VALUE="-1">
<PARAM NAME="_cx" VALUE="4736">
<PARAM NAME="_cy" VALUE="3493">
</DIV>
</body>
</html>