电影系统调用“宝丽通”加速播放器,任意拖动不会卡_网页播放器教程-查字典教程网
电影系统调用“宝丽通”加速播放器,任意拖动不会卡
电影系统调用“宝丽通”加速播放器,任意拖动不会卡
发布时间:2016-12-29 来源:查字典编辑
摘要:

<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>

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新网页播放器学习
    热门网页播放器学习
    编程开发子分类