把
<script language="javescript" type="text/javascript"> //Insus.NET有改这里
function pl()
{
document.getElementById ("mper").fileName="temp.wmv"; //Insus.NET有改这里
document.getElementById("mper").play(); //Insus.NET有改这里
}
</script>
放在<head></head>之间.
另外:<object id="mper" width="320" height="240" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/
nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft? Windows Media? Player components..."
type="application/x-oleobject">
<param name="ShowControls" value="true">
</object>
<input type="button" value="test" onclick="pl();">
另外,html部分,Insus.NET也有更改,请对比一下,看改了哪.
经上面更改之后,已经经过测试,OK之后,才帖出来.
<script language="javescript" type="text/javascript"> //Insus.NET有改这里
function pl()
{
document.getElementById ("mper").fileName="temp.wmv"; //Insus.NET有改这里
document.getElementById("mper").play(); //Insus.NET有改这里
}
</script>
放在<head></head>之间.
另外:<object id="mper" width="320" height="240" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/
nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft? Windows Media? Player components..."
type="application/x-oleobject">
<param name="ShowControls" value="true">
</object>
<input type="button" value="test" onclick="pl();">
另外,html部分,Insus.NET也有更改,请对比一下,看改了哪.
经上面更改之后,已经经过测试,OK之后,才帖出来.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货