我们学校有个VOD系统,用JAVASCRIP弄的.自带播放器(非real,wmp)邦丰播放器.上面的电影只能看不能下.非常郁闷.我把源代码贴上来.大家帮我看看这个的真实地址是什么谢谢了
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>节目信息</title>
<link rel="stylesheet" type="text/css" href="2006/images/style.css">
<script language ="javascript" src ="jslib/truevod.js"></script>
<script language="JavaScript">
<!--
function OnProgInfoLoad()
{
MyLoadImages("images/normal.gif","images/over.gif","images/down.gif");
//DisableIEMaximize();
}
//交换位图
function SwapImgObjSrc(ImgName,ImgSrc)
{
if (typeof(ImgName)=="string" && typeof(ImgSrc)=="string")
{
var ImgObj = document.images(ImgName);
if (ImgObj)
ImgObj.src=ImgSrc;
}
}
function PlayAlert1(vProgTitle)
{
alert("对不起!由于管理员授予您的带宽限制,不能点播节目:\r\n\""+vProgTitle+"\"");
}
function PlayAlert(vProgTitle)
{
alert("对不起!由于您是匿名登录用户,不能点播节目:\r\n\""+vProgTitle+"\"");
}
function PlayError(vProgTitle)
{
alert("对不起!您的权限级别不够高,因此不能点播节目:\r\n\""+vProgTitle+"\"");
}
//-->
</script>
</head>
<body bgcolor="#003399">
<div align="center">
<table border="0" width="566" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td height=5>
<img border="0" src="images/pci12.gif" width="566" height="5"></td>
</tr>
<tr>
<td background="images/pci13.gif" height="16" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="230" valign="top">
<div align="center">
<table border="0" width="48%" cellspacing="0" cellpadding="0">
<tr>
<td height="96"> </td>
</tr>
<tr>
<td style="filter:shadow(color=#cccccc,direction=120);width:300;padding-right:10;padding-bottom:10">
<img border="0" src="../photo/5271.jpg" width="148" height="200"></td>
</tr>
</table>
</div>
</td>
<td valign="top">
<div align="center">
<table border="0" width="85%" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td height=34 width=302 background="images/pci14.gif" valign="bottom">
<div align="center">
<table border="0" width="80%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="t8">平原镇屠夫The Butcher of Plainfield(2007)</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td background="images/pci15.gif">
<div align="center">
<table border="0" width="267" cellspacing="0" cellpadding="0">
<tr>
<td width="267" colspan="2"> </td>
</tr>
<tr>
<td width="102" class="t7" align="right">
节目类型:</td>
<td width="165" class="t7">RM视音频</td>
</tr>
<tr>
<td width="267" colspan="2" align="right">
<img border="0" src="images/pci16.gif" width="267" height="1"></td>
</tr>
<tr>
<td width="102" class="t7" align="right">
影片类型:</td>
<td width="165" class="t7">恐怖片</td>
</tr>
<tr>
<td width="267" colspan="2" align="right">
<img border="0" src="images/pci16.gif" width="267" height="1"></td>
</tr>
<tr>
<td width="102" class="t7" align="right">
创建日期:</td>
<td width="165" class="t7">2007-03-21</td>
</tr>
<tr>
<td width="267" colspan="2" align="right">
<img border="0" src="images/pci16.gif" width="267" height="1"></td>
</tr>
<tr>
<td width="267" colspan="2" align="right">
<img border="0" src="images/pci16.gif" width="267" height="1"></td>
</tr>
<tr>
<td width="102" class="t7" align="right">
主 演:</td>
<td width="165" class="t7">普里西拉.巴恩斯, 迈克尔.巴里曼, Stan Bly</td>
</tr>
<tr>
<td width="267" colspan="2" align="right">
<img border="0" src="images/pci16.gif" width="267" height="1"></td>
</tr>
<tr>
<td width="102" class="t7" align="right">
导 演:</td>
<td width="165" class="t7">Michael Feifer</td>
</tr>
<tr>
<td width="267" colspan="2" align="right">
<img border="0" src="images/pci16.gif" width="267" height="1"></td>
</tr>
<tr>
<td width="102" class="t7" align="right">
时间长度:</td>
<td width="165" class="t7">01:30:15</td>
</tr>
<tr>
<td width="267" colspan="2" align="right">
<img border="0" src="images/pci16.gif" width="267" height="1"></td>
</tr>
<tr>
<td width="102" class="t7" align="right">
点击率:</td>
<td width="165" class="t7">79</td>
</tr>
<tr>
<td width="267" colspan="2" align="right">
<img border="0" src="images/pci16.gif" width="267" height="1"></td>
</tr>
<tr>
<td width="102" class="t7" align="right">
点播需要带宽:</td>
<td width="165" class="t7">579(Kbps)</td>
</tr>
<tr>
<td width="102" class="t7" align="right">
在线播放:</td>
<td width="165" class="t7"><a href="#P1" onMouseOut="SwapImgObjSrc('playbtn1','images/Normal.gif');return true;" onMouseOver="SwapImgObjSrc('playbtn1','images/over.gif');return true;" onClick=" javascript:TruevodPlayExID('210.31.141.49:1680','/home/media4/易佳影院.电影.欧美.恐怖片.平原镇屠夫.rmvb','平原镇屠夫The Butcher of Plainfield(2007)',5271);return false;"><img border="0" name="playbtn1" src="images/Normal.gif" alt="第一个播放地址"></a> </td>
</tr>
<tr>
<td width="102" class="t7" align="right">
节目下载:</td>
<td width="165" class="t7">
<img src="images/down03.gif" width="18" height="18" border="0"></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>
<img border="0" src="images/pci18.gif" width="302" height="16"></td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="22">
<img border="0" src="images/pci19.gif" width="45" height="24"></td>
<td width="49" height=24 background="images/pci20.gif" valign="bottom">
<a class="t8" target="_blank" href="progOpinion.jsp?ProgId=5271"></a></td>
<td width="11">
<img border="0" src="images/pci21.gif" width="22" height="24"></td>
<td valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height=3>
<img border="0" src="images/pci22.gif" width="186" height="7"></td>
</tr>
<tr>
<td height=3></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="images/pci13.gif" height="77" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<div align="center">
<table border="1" width="80%" cellspacing="0" cellpadding="0" bordercolor="#DCDCDC" style="border-collapse: collapse">
<tr>
<td>
<img border="0" src="images/pci23.gif" width="520" height="19"></td>
</tr>
<tr>
<td bgcolor="#163C87" class="t2"> 2007美国最新超火爆恐怖大片
<br> 通过这部电影,FANS们能最终明白是什么使得这样一个温和的,讨孩子喜欢的农夫转变成美国犯罪史上最可怕的罪犯之一。
<br>
<br> 艾德·盖恩(Edward Theodore Gein,爱德华·西奥多·盖恩,小名艾德Ed)(1906年8月27日-1984年7月26日)是美国最有名的连环杀手之一。虽然他"只"犯了三起谋杀,但他对其受害者的所作所为却震惊了整个世界。他犯了谋杀、毁尸、盗墓、食人和恋尸癖等罪。</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=5>
<img border="0" src="images/pci24.gif" width="566" height="6"></td>
</tr>
</table>
</div>
</body>
</html>
下面是jslib/truevod.js的代码
<!--
function LoginDirect(strUsrName,strPassword)
{
var LoginObj,lret;
LoginObj = new ActiveXObject("XMNetHelper.NetLogin");
lret = LoginObj.LoginDirect(strUsrName,strPassword);
delete LoginObj;
return lret;
}
function LoginDialog()
{
var LoginObj,lret;
LoginObj = new ActiveXObject("XMNetHelper.NetLogin");
lret = LoginObj.LoginBox();
delete LoginObj;
return lret;
}
function TruevodPlay(strServer,strUrl)
{
var TruePlayer;
TruePlayer = new ActiveXObject("XMNetHelper.NetPlayer");
TruePlayer.Play(strServer,strUrl);
delete TruePlayer;
return true;
}
function TruevodPlayEx(strServer,strUrl,strProgName)
{
var TruePlayer;
TruePlayer = new ActiveXObject("XMNetHelper.NetPlayer");
TruePlayer.PlayEx(strServer,strUrl,strProgName);
delete TruePlayer;
return true;
}
function TruevodPlayExID(strServer,strUrl,strProgName,nProgID)
{
var TruePlayer;
TruePlayer = new ActiveXObject("XMNetHelper.NetPlayer");
TruePlayer.PlayExID(strServer,strUrl,strProgName,nProgID);
delete TruePlayer;
return true;
}
//
function DisableIEMaximize()
{
var TruePlayer;
TruePlayer = new ActiveXObject("XMNetHelper.NetPlayer");
TruePlayer.IESizeEnable(0);
delete TruePlayer;
return true;
}
//
function NullPlay(strServer,strUrl,strProgName,strFileExt)
{
var TruePlayer;
TruePlayer = new ActiveXObject("XMNetHelper.NetPlayer");
TruePlayer.NullPlay(strServer,strUrl,strProgName,strFileExt);
delete TruePlayer;
return true;
}
///////////////////////////////////////////////////////////////////////////////
//主动接收广播
// strServerIPAddr - 广播服务器的IP地址,字符串型
// nChannelNo - 节目在广播服务器上设置的频道号数字型
//
//
//////////////////////////////////////////////////////////////////////////////
function PlayBroadCast(strServerIPAddr, nChannelNo)
{
var TruePlayer;
TruePlayer = new ActiveXObject("XMNetHelper.NetPlayer");
TruePlayer. PlayBroadCast(strServerIPAddr, nChannelNo);
delete TruePlayer;
return true;
}
///////////////////////////////////////////////////////////////////////////////
//自动搜索广播
//////////////////////////////////////////////////////////////////////////////
function AutoReceive ()
{
var TruePlayer;
TruePlayer = new ActiveXObject("XMNetHelper.NetPlayer");
TruePlayer. AutoReceive();
delete TruePlayer;
return true;
}
///////////////////////////////////////////////////////////////////////////////
//播放在线节目
//////////////////////////////////////////////////////////////////////////////
function NetPlay(strProgName,strUrl)
{
var TruePlayer;
TruePlayer = new ActiveXObject("XMNetHelper.NetPlayer");
TruePlayer.PlayURL(strProgName,strUrl);
delete TruePlayer;
return true;
}
//
function OpenWindow(url,h,w,caption)
{
var winobj;
var left=(screen.width-w)/2
var top=(screen.height-h)/2
stropenopt = "height=" +h+",width="+w+",status=no,toolbar=no,menubar=no,location=no resizable =no top=" +top + " left=" + left;
winobj = window.open(url,caption,stropenopt,true);
return winobj;
}
function OpenWindowEx(url,h,w,caption)
{
var winobj;
var left=(screen.width-w)/2
var top=(screen.height-h)/2
stropenopt = "height=" +h+",width="+w+",status=no,scrollbars=yes,toolbar=no,menubar=no,location=no resizable =no top=" +top + " left=" + left;
winobj = window.open(url,caption,stropenopt,true);
return winobj;
}
//显示节目信息
function ShowProgInfo(ProgId)
{
var strUrl;
strUrl="proginfo.jsp?ProgId="+ ProgId;
if (document.InfoWnd)
{
if (document.InfoWnd.closed==false)
{
document.InfoWnd.close();
}
}
document.InfoWnd=OpenWindowEx(strUrl,550,631,"节目信息框");
return true;
}
//-->
小弟不胜感激