电影系统调用“宝丽通”加速播放器,任意拖动不会卡
更新时间:2008年09月07日 10:04:10 作者:
电影系统调用“宝丽通”加速播放器,任意拖动不会卡,绝对好东西!不信你试试!
<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>
<!--
///
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>
相关文章
网页播放器 windowsmediaplay中控制从wmv的指定时间开始播放,指定时间停止播放
windowsmediaplay中控制从wmv的指定时间开始播放,指定时间停止播放2008-11-11asp 网页视频播放器程序代码(通用代码),支持avi,wmv,asf,mov,rm,ra,ram等
在给客户做个程序时,突然遇到个问题,就是产品页用户提交视频播放文件时,如何根据提交的网址内的视频格式进行正确的播放呢....郁闷了一会,想好了思路,说动手就动手...2008-11-11非常全的javascript控制MediaPlayer的属性集合
非常全的javascript控制MediaPlayer的属性集合...2007-08-08
最新评论