如何下载在线播放的视频

bluearc888 2004-02-23 03:58:23
本人所在的isp提供了丰富的影片资源,可是上网时一般没时间看,好象影片是存储在mssql里,我用了很多办法都找不到资源位置,但通过ie的历史记录里可以查看源文件,如果能下载的话,网速可到1M/s左右。。。请高手指点!
以下是播放器的网页源码(我想该不会是影片以gif图片的形式存在吧。。):
<script language="javascript" src="js/var.js"></script>
<script language="javascript" src="js/player.js"></script>
<script language="javascript" src="js/timer.js"></script>
<script language="javascript" src="js/rmplayer.js"></script>
<HTML>
<HEAD>
<TITLE>媒体播放器</TITLE>
<META HTTP-EQUIV="Expires" CONTENT="0">
<SCRIPT language=javascript>
function click() {
if (event.button==2) {
}
}
document.onmousedown=click
</SCRIPT>
<link rel="stylesheet" href="js/player.css">
<style type="text/css">
<!--
.na { font-size: 12px}
-->
</style>
</HEAD>
<BODY id=thisbody bgcolor="#000000" topMargin=0 leftMargin=0 rightMargin=0 bottomMargin=0 style="scroll:no; overflow: hidden;" ondragstart="self.event.returnValue=false" onselectstart="self.event.returnValue=false" onmousedown="WindowMove_Start()" onmouseup="WindowMove_End()" oncontextmenu="self.event.returnValue=false" onmousemove="WindowMove()">
<object id="min" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" style="{visibility:hidden}"><param name="Command" value="Minimize"></object>
<!--播放器主界面-->
<DIV id="myplayPanel">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="362">
<TR>
<TD width="11" background="images/top_l.gif"> </td>
<td background="images/top_bg.gif" width="340"> </TD><td background="images/top_bg.gif" NOWRAP valign="center"><img src="images/small.gif" alt="窗口最小化" onClick="min.Click()" style="cursor:hand" width="10" height="10"><img src="images/colse.gif" alt="关闭播放器" onClick="ClosePlayer()" style="cursor:hand" width="10" height="10">
</TD>
<td width="11" background="images/top_r.gif"></td>

</TR>

<TR>

<td background="images/center_bgl.gif" width="11"><img src="images/center_bgl.gif" width="11" height="1"> </td>

<TD bgcolor="#000000" colspan="2" width="340" height="250">

<DIV id="bufimg" style="HEIGHT: 196px; POSITION: absolute; TOP: 14px; VISIBILITY: visible; WIDTH: 323px; Z-INDEX: 4;left:11px"><img border="0" src="images/bufimg.gif" width="340" height="250"></DIV>

<DIV id="MP" style="VISIBILITY: hidden; Z-INDEX: -1">

<OBJECT classid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA height=250 id=Player width=340>

<param name="_ExtentX" value="8255">

<param name="_ExtentY" value="6376">

<param name="AUTOSTART" value="0">

<param name="SHUFFLE" value="0">

<param name="PREFETCH" value="0">

<param name="NOLABELS" value="0">

<param name="CONTROLS" value="ImageWindow">

<param name="CONSOLE" value="one">

<param name="LOOP" value="0">

<param name="NUMLOOP" value="0">

<param name="CENTER" value="0">

<param name="MAINTAINASPECT" value="0">

<param name="BACKGROUNDCOLOR" value="#000000">

</OBJECT>

</DIV>

</TD>

<td background="images/center_bgr.gif" width="11"><img src="images/center_bgr.gif" width="11" height="1"> </td>

</TR>

</table>

<!--Control Pancel Start-->

<DIV id="mycontrolPanel">

<!--------位置控制------------->

<DIV id="myadvControl"><div id="info"></div></DIV>

<DIV id="myPosBar" onmousedown="SetPos_Start()" onmousemove="SetPos()" onmouseup="SetPos_End()"><IMG alt="播放位置" border=0 src="images/control_bar.gif" width="29" style="cursor:hand" height="12">

</DIV>

<table border="0" width="362" cellspacing="0" cellpadding="0" height="17">

<tr>

<td background="images/control1.gif">

 

</td>

</tr>

</table>

<!--------时间显示------------->

<table border="0" width="362" cellspacing="0" cellpadding="0" height="50" background="images/control20.gif">

<tr>

<td width="100%" height="24">
<table width="160" border="0" cellspacing="0" cellpadding="0" align="right">
<tr>
<td height="24" valign="bottom"> <MARQUEE WIDTH=100 SCROLLAMOUNT=1><font color="#FFFFFF" class="na" >
木偶奇遇记--第1集 </font></MARQUEE></td>
</tr>
</table>
</td>

</tr>

<tr>

<td width="100%" height="26">

<img src="images/clock_l.gif" width="245" height="13"><img src="js/cb.gif" name="a" width="11" height="13"><img src="js/cb.gif" name="b" width="11" height="13"><img src="js/colon.gif" name="c" width="11" height="13"><img src="js/cb.gif" name="d" width="11" height="13"><img src="js/cb.gif" name="e" width="11" height="13"><img src="js/colon.gif" name="f" width="11" height="13"><img src="js/cb.gif" name="g" width="11" height="13"><img src="js/cb.gif" name="h" width="11" height="13">

</td>

</tr>

</table>

<!--------声音控制------------->

<DIV id="myVolBar" onmousedown="SetVol_Start()" onmousemove="SetVol()" onmouseup="SetVol_End()"><IMG alt="音量调节" border=0 src="images/bar.gif" width="11" height="8" style="cursor:hand"></DIV>

<table border="0" width="362" cellspacing="0" cellpadding="0">

<tr>

<td><img border="0" src="images/control3_01.gif" width="42" height="35"></td>

<td><img border="0" src="images/control3_02.gif" width="23" height="35" title="播放" onclick="Play()" name="playpause" style="cursor:hand"></td>

<td><img border="0" src="images/control3_03.gif" width="23" height="35" title="暂停" onclick="Pause()" name="playpause" style="cursor:hand"></td>

<td><img border="0" src="images/control3_04.gif" width="24" height="35" name="stop" title="停止" onclick="Stop()" style="cursor:hand"></td>

<td><img border="0" src="images/control3_05.gif" width="5" height="35"></td>

<td><img border="0" src="images/control3_06.gif" width="23" height="35" alt="开始位置" title="开始位置" onclick="SetPosition(0)" style="cursor:hand"></td>

<td><img border="0" src="images/control3_07.gif" width="24" height="35" alt="结束位置" title="结束位置" onclick="SetPosition(-1)" style="cursor:hand"></td>

<td><img border="0" src="images/control3_08.gif" width="5" height="35"></td>

<td><img border="0" src="images/control3_09.gif" width="24" height="35" name="fullscreen" alt="全屏幕" title="全屏幕" onClick="FullScreen()" style="cursor:hand"></td>

<td><img border="0" src="images/control3_10.gif" width="169" height="35"></td>

</tr>

</table>

<!--Control Panel End-->

<!--------高级控制------------->

<DIV id="myadvPanel" style="width: 319px; height: 0px"> </DIV>

<!--panel table end-->

<!--事件处理-->

<SCRIPT language="vbscript">

sub Player_OnBuffering(Flags,PercentComplete)

strMsg=" 正在缓冲……" & PercentComplete & "%"

info.innerHTML=strMsg

call ShowBuffering(PercentComplete <100)

end sub

</script>



<SCRIPT language="vbscript">

sub Player_OnContacting(HostName)

info.innerHTML= "正在连接 "& HostName

end sub

</script>



<SCRIPT language="vbscript">

sub Player_OnErrorMessage(Sevrity,RMACode,UserCode,MsgText,MoreURL)

info.innerHTML= "发生错误: "& MsgText

msgbox MsgText

end sub

</script>



<SCRIPT FOR="window" EVENT="onresize()" language="javascript">

document.all.Player.width=document.body.clientWidth-20;

document.all.Player.height=document.all.Player.width*0.75;

</SCRIPT>



<script language="javascript">document.all.Player.SetSource('http://vod.yxtv.cn/show.php?MovieID=399&Segment=1');</script>

<script language="javascript">

StreamMedia();

StreamMonitor();

</script>

</div></div></BODY>

</HTML>
...全文
1120 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复

1,502

社区成员

发帖
与我相关
我的任务
社区描述
VB 网络编程
社区管理员
  • 网络编程
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧