📄 play_wmp.asp
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>视频播放器</title><LINK
href="imgs/jokecss200507.css" type=text/css rel=stylesheet>
</head>
<body><SCRIPT language=JavaScript>
function qqping_url_build()
{
p=window.top.document.URL.indexOf("?");
if(-1==p)p=window.top.document.URL.indexOf("&");
if(-1==p)address="u="+window.top.document.URL;
else address="u="+window.top.document.URL.substring(0,p);
p=document.referrer.indexOf("?");
if(-1==p)p=window.top.document.referrer.indexOf("&");
if(-1==p)refer="r="+window.top.document.referrer;
else refer="r="+window.top.document.referrer.substring(0,p);
return address+"&"+refer;
}
document.write("<div style='position:absolute; left:0px; top:0px; width:0px; height:0px; z-index:0; visibility: hidden;'><img src='http://ping.qq.com/ping?" + qqping_url_build() + "' height='0' width='0'></div>");
</SCRIPT>
<SCRIPT language=javascript>
function CommendByMail(){
window.document.CommentForm.fun.value="qqcom_MAILCOMPOSE";
window.document.CommentForm.url.value=window.document.URL;
openNewWindow("about:blank", "MailBox", 500, 550);
window.document.CommentForm.target="MailBox";
window.document.CommentForm.submit();
}
function openNewWindow(sURL, sName, iWidth, iHeight, bResizable, bScrollbars)
{
var iTop = (screen.height - iHeight) / 2 ;
var iLeft = (screen.width - iWidth) / 2 ;
var sOptions = "toolbar=no" ;
sOptions += ",width=" + iWidth ;
sOptions += ",height=" + iHeight ;
sOptions += ",resizable=" + (bResizable ? "yes" : "no") ;
sOptions += ",scrollbars=" + (bScrollbars ? "yes" : "no") ;
sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ;
var oWindow = window.open(sURL, sName, sOptions)
oWindow.focus();
return oWindow ;
}
</SCRIPT>
<STYLE>#ChannelEndTmp {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
#ChannelEndTmp {
CLEAR: both; PADDING-RIGHT: 0px; BORDER-TOP: #d2d2d2 1px solid; PADDING-LEFT: 0px; FONT-SIZE: 12px; BACKGROUND: #f8f7f7; PADDING-BOTTOM: 6px; MARGIN: 0px auto; VERTICAL-ALIGN: middle; WIDTH: 750px; LINE-HEIGHT: 12px; PADDING-TOP: 0px; BORDER-BOTTOM: #d2d2d2 1px solid; HEIGHT: 40px; TEXT-ALIGN: center
}
#ChannelEndTmp UL {
CLEAR: both; WIDTH: 744px; LIST-STYLE-TYPE: none
}
#ChannelEndTmp LI A {
FONT-SIZE: 12px; COLOR: black; LINE-HEIGHT: 12px
}
#ChannelEndTmp LI A:hover {
COLOR: red; LINE-HEIGHT: 12px
}
#ChannelEndTmp LI A.reds:link {
COLOR: red; LINE-HEIGHT: 12px
}
A.reds:visited {
COLOR: red; LINE-HEIGHT: 12px
}
#ChannelEndTmp LI {
BORDER-RIGHT: black 1px solid; FLOAT: left; MARGIN: 8px auto 2px; WIDTH: 36px! important; PADDING-TOP: 1px
}
#ChannelEndTmp LI.mEnd {
FONT-SIZE: 12px; WIDTH: 38px! important
}
#ChannelEndTmp LI.gtEnd {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 12px; FLOAT: left; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 37px; BORDER-RIGHT-WIDTH: 0px
}
</STYLE>
<SCRIPT language=JScript event=OpenStateChange(NewState) for=MediaPlayer>
switch(NewState)
{
case 13:
o=document.getElementById('bbmedia_id');
o.src='<%=rs("location")%>';
break;
}
</SCRIPT>
<TABLE cellSpacing=0 cellPadding=0 width=350 align=center border=0>
<TBODY>
<TR>
<TD width=15 background=imgs/chattingroom2_01.gif height=22></TD>
<TD width=320><IMG src="imgs/chattingroom2_01.jpg"
border=0></TD>
<TD width=15 background=imgs/chattingroom2_02.gif></TD></TR>
<TR>
<TD background=imgs/chattingroom2_04.gif></TD>
<TD>
<DIV>
<OBJECT id=MediaPlayer
codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
type=application/x-oleobject height=245
standby="Loading Microsoft? Windows Media? Player components..." width=320
classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6>
<PARAM NAME="URL" VALUE="
<%=rs("location")%>"><PARAM NAME="rate" VALUE="1"><PARAM NAME="balance" VALUE="0"><PARAM NAME="currentPosition" VALUE="0"><PARAM NAME="defaultFrame" VALUE=""><PARAM NAME="playCount" VALUE="1">
<PARAM NAME="autoStart" VALUE="-1"><PARAM NAME="currentMarker" VALUE="0"><PARAM NAME="invokeURLs" VALUE="-1"><PARAM NAME="baseURL" VALUE=""><PARAM NAME="volume" VALUE="50"><PARAM NAME="mute" VALUE="0"><PARAM NAME="uiMode" VALUE="none">
<PARAM NAME="stretchToFit" VALUE="-1"><PARAM NAME="windowlessVideo" VALUE="0"><PARAM NAME="enabled" VALUE="-1"><PARAM NAME="enableContextMenu" VALUE="0"><PARAM NAME="fullScreen" VALUE="0"><PARAM NAME="SAMIStyle" VALUE=""><PARAM NAME="SAMILang" VALUE=""><PARAM NAME="SAMIFilename" VALUE=""><PARAM NAME="captioningID" VALUE=""><PARAM NAME="enableErrorDialogs" VALUE="0"><PARAM NAME="_cx" VALUE="8467">
<PARAM NAME="_cy" VALUE="6482"></OBJECT></DIV></TD>
<TD background=imgs/chattingroom2_03.gif></TD></TR>
<TR>
<TD background=imgs/chattingroom2_04.gif height=20></TD>
<TD bgColor=#000000>
<TABLE
style="BORDER-LEFT-COLOR: #ffffff; BORDER-BOTTOM-COLOR: #ffffff; BORDER-TOP-COLOR: #ffffff; BORDER-RIGHT-COLOR: #ffffff"
width="100%" border=1>
<TBODY>
<TR>
<TD
style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none"
align=left width="13%"><IMG id=statImg height=15
src="imgs/stop.gif" width=32 border=0></TD>
<TD id=mediaInfo
style="FONT-SIZE: 12px; COLOR: #89a4ff; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none"
vAlign=bottom width="68%">准备就绪 </TD>
<TD id=mediaTime
style="FONT-SIZE: 12px; COLOR: #89a4ff; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none"
vAlign=bottom align=right width="19%"></TD></TR></TBODY></TABLE></TD>
<TD background=imgs/chattingroom2_03.gif></TD></TR>
<TR>
<TD background=imgs/chattingroom2_05.gif height=54></TD>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=320 border=0>
<TBODY>
<TR>
<TD onmousedown=mouseDown(0) id=pZone
style="LEFT: 0px; POSITION: relative"
background=imgs/chattingroom2_07.gif height=19>
<DIV id=pBox
style="LEFT: 5px; OVERFLOW: hidden; WIDTH: 23px; CURSOR: e-resize; POSITION: relative; TOP: 6px"><IMG
height=8 alt=移动滑块控制影片进度 src="imgs/chattingroom2_17.gif"
width=23></DIV></TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=320 border=0>
<TBODY>
<TR>
<TD width=59 background=imgs/chattingroom2_08.gif
height=21></TD>
<TD width=36><IMG id=playControl style="CURSOR: pointer"
onclick=toPlay(); height=21 alt=播放/暂停
src="imgs/chattingroom2_09.gif" width=36
border=0></TD>
<TD width=34><IMG style="CURSOR: pointer" onclick=toStop();
height=21 alt=停止 src="imgs/chattingroom2_10.gif"
width=34 border=0></TD>
<TD width=29><IMG style="CURSOR: pointer"
onclick=fullScreen(); height=21 alt=全屏
src="imgs/chattingroom2_11.gif" width=29
border=0></TD>
<TD width=5 background=imgs/chattingroom2_12.gif></TD>
<TD width=32><IMG id=muteControl style="CURSOR: pointer"
onclick=toMute(); height=21 alt=静音开关
src="imgs/chattingroom2_13.gif" width=32
border=0></TD>
<TD onmousedown=mouseDown(1) id=vZone
style="BACKGROUND-POSITION: center 50%; LEFT: 0px; BACKGROUND-REPEAT: repeat-x; POSITION: relative"
vAlign=center width=67
background=imgs/chattingroom2_14.gif>
<DIV id=vBox
style="LEFT: 34px; OVERFLOW: hidden; WIDTH: 5px; CURSOR: e-resize; POSITION: relative; TOP: 4px"><IMG
height=13 alt=移动滑块控制音量大小
src="imgs/chattingroom2_18.gif" width=5></DIV></TD>
<TD width=58
background=imgs/chattingroom2_15.gif></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD background=imgs/chattingroom2_16.gif
height=14></TD></TR></TBODY></TABLE></TD>
<TD background=imgs/chattingroom2_06.gif></TD></TR></TBODY></TABLE>
<SCRIPT lang=JavaScript src="imgs/Player.js"></SCRIPT>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -