电影系统调用“宝丽通”加速播放器,任意拖动不会卡
<script language="javascript">
<!--
///
function GetPlayerVersion()
{
var LoginObj,ret;
Obj = new ActiveXObject("VodHelper.NetPlayer");
ret = Obj.GetCurrentVersion();
delete Obj;
return ret;
}
function Logon(strUsrName,strPassword)
{
var LoginObj,ret;
Obj = new ActiveXObject("VodHelper.NetPlayer");
ret = Obj.Logon(strUsrName,strPassword);
delete Obj;
return ret;
}
function VodPlay2(strServer,strUrl,strName)
{
try{
var Player;
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.Play(strServer,strUrl,strName);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "......播放器下载地址......";
return false;
}
return true;
}
function VodPlayExID(strServer,strID,strName)
{
try{
var Player;
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.PlayExID(strServer,strID,strName);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "......播放器下载地址......";
return false;
}
return true;
}
function VodPlayExIDExt(strServer,strID,strName, strExt)
{
try{
var Player;
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.PlayExIDExt(strServer,strID,strName, strExt);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "......播放器下载地址......";
return false;
}
return true;
}
function VodPlayExIDExtSub(strServer,strID,strName, strExt, strSub)
{
try{
var Player;
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.PlayExIDExtSub(strServer,strID,strName, strExt, strSub);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "......播放器下载地址......";
return false;
}
return true;
}
function VodPlayExPathExt(strServer,strPath, strID,strName, strExt)
{
try{
var Player;
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.PlayExPathExt(strServer,strPath,strID,strName, strExt);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "......播放器下载地址......";
return false;
}
return true;
}
function VodPlayExPathExtSub(strServer,strPath,strID,strName, strExt, strSub)
{
try{
var Player;
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.PlayExPathExtSub(strServer,strPath,strID,strName, strExt, strSub);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "......播放器下载地址......";
return false;
}
return true;
}
function VodPlayExPlaylist(strUrl)
{
try{
var Player;
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.PlayExPlaylist(strUrl);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "......播放器下载地址......";
return false;
}
return true;
}
function DownLoad(strServer,strID,strExt,strName)
{
try{
var Player;
//alert("ok");
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.Download(strServer,strID,strExt,strName);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href ="......播放器下载地址......";
return false;
}
return true;
}
function DownLoadPath(strServer,strPath,strID,strExt,strName)
{
try{
var Player;
//alert("ok");
Player = new ActiveXObject("VodHelper.NetPlayer");
Player.DownloadPath(strServer,strPath,strID,strName,strExt);
delete Player;
}
catch(e)
{
alert("请首先下载安装网络媒体播放器!");
document.location.href = "......播放器下载地址......";
return false;
}
return true;
}
VodPlayExPlaylist('……影片地址……');
function closew(){
self.focus();
self.close();
return false;
}
setTimeout("closew();", 10);
</script>