调用是否安装播放器问题!
<BODY topmargin="0" leftmargin="0"><table align="center" cellspacing="0" cellpadding="0" width="100%" height="100%" border="0">
<tr>
<td align="center" valign="middle">
<OBJECT ID="ActiveX"name="playr" CLASSID="CLSID:E38F2429-07FE-464A-9DF6-C14EF88117DD" width="100%" height="100%"VIEWASTEXT>
<PARAM NAME="URL" VALUE="<%=url_zjgang_sa(url)%>" width="900" height="550">
</OBJECT>
</td>
</tr>
</table>
<script language="javascript">
<!--
///
function GetPlayerVersion()
{
try{
var Xfplay;
var ret;
Player = new ActiveXObject("Xfplay");
ret = Player.GetCurrentVersion();
if(ret < 7.6 )
{
alert("网络媒体播放器版本已过期,请重新下载并安装网络媒体播放器!");
document.location.href = "../download/xfplay.exe";
return false;
}
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "../download/xfplay.exe";
return false;
}
return true;
}
//-->
</script>
播放是没问题,但是为什么老是提示"请首先下载安装网络媒体播放器!",什么个情况,俺这怎么写,烦请指示再指示!!! 查看这里的教程: http://bbs.xfplay.com/thread-8006-1-1.html
播放器控件样本:http://www.xfplay.com/player.rar
页:
[1]