帝国cms功能强大无人不晓,论坛也有人发过很多的qvod播放器但是页面都不是很美观,或者说 只是也框体 的点用 根本就没有美观可言。今天无疑在网上找到一套qvod皮肤就移植到帝国cms里面去了。测试结果还不错。有好东西当然要分享了,所以现在就分打包处理给打家。
播放器的主代码如下:
<table width="560" border="0" align="center" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="16" background="image/gw_bn_player2_01.gif"><img src="image/gw_bn_player2_00.gif" width="10" height="20" border="0"></td> <td background="image/gw_bn_player2_01.gif"></td> <td width="16" align="right" background="image/gw_bn_player2_01.gif"><img src="image/gw_bn_player2_02.gif" width="10" height="20" border="0"></td> </tr> <tr valign="top"> <td background="image/03.gif"></td> <td><object classid="clsid:F3D0D36F-23F8-4682-A195-74C92B03D4AF" width="528" height="396" id="QvodPlayer" name="QvodPlayer"> <PARAM NAME='Showcontrol' VALUE='0'> <PARAM NAME='URL' VALUE='qvod://145258238|659BFF9A710A3EA659C7C2F766848354438AAA1F|滑头鬼之孙01.rmvb|'> <PARAM NAME='Autoplay' VALUE='1'> </object> </td> <td background="image/04.gif"></td> </tr> <tr valign="top"> <td background="image/03.gif"></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 width="7%" height="19" align=left style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none"> <IMG src="image/stop.gif" width=32 height=15 border=0 align="absmiddle" id=statImg></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" width="53%">准备就绪 </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="40%"></TD> </TR> </TBODY> </TABLE></td> <td background="image/04.gif"></td> </tr> </table> <table width="560" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="16" rowspan="2" valign="top"><img src="image/05.gif" width="16" height="60" border="0"></td> <td width="48" rowspan="2" valign="top"><img src="image/07.gif" width="48" height="60" border="0" id="playControl" style="CURSOR: pointer" onClick="QvodPlay();" alt="播放"></td> <td width="30" rowspan="2" valign="top"><img src="image/10.gif" width="30" height="60" border="0" id="stopControl" onClick="QvodStop();" alt="停止"></td> <td width="17" rowspan="2" valign="top"><img src="image/11.gif" width="17" height="60" border="0"></td> <td height="24" background="image/12.gif" id="pZone" onMouseDown="mouseDown(0)" onMouseOut="document.all.noroll.style.display = 'none';document.all.mediaInfo.style.color='#89a4ff';" style="LEFT: 0px; POSITION: relative"> <DIV id="pBox" style="LEFT: 0px; OVERFLOW: hidden; WIDTH: 18px; CURSOR: e-resize; POSITION: relative; TOP: 10px"><IMG height="9" alt=移动滑块控制影片进度 src="image/21.gif" width="18"></DIV> <div id="noroll" style="left:0px; position:absolute; top:-20px; width:100px; display: none;"><img src="image/noroll.gif" width="100" height="30" border="0"></div></td> <td width="7" valign="top"><img src="image/19.gif" width="7" height="24" border="0"></td> <td width="16" rowspan="2" valign="top"><img src="image/06.gif" width="16" height="60" border="0"></td> </tr> <tr valign="top"> <td><table width="100%" border="0" cellpadding="0" cellspacing="0" background="image/13.gif"> <tr> <td width="20"> </td> <td width="40"><img src="image/gw_bn_player_03.gif" width="22" height="22" style="CURSOR: pointer" onClick="FullScreen()" alt="全屏显示"></td> <td align="center"><b><font color="#336699">www.zzview.com</font></b></td> <td width="30" valign="top"><img id="muteControl" style="CURSOR: pointer" onClick="Mute();" src="image/18.gif" width="24" height="36" border="0" alt="静音"></td> <td width="41" background="image/bn_zhengwen_mp_001.gif" style="BACKGROUND-POSITION: center 50%; LEFT: 0px; BACKGROUND-REPEAT: repeat-x; POSITION: relative" onMouseDown="mouseDown(1)" id="vZone"><DIV id="vBox" style="LEFT: 14px; OVERFLOW: hidden; WIDTH: 9px; CURSOR: e-resize; POSITION: relative; TOP: 4px"> <IMG height=18 alt=移动滑块控制音量大小 src="image/gw_bn_vol_21.gif" width=9></DIV></td> </tr> </table></td> <td background="image/13.gif"> </td> </tr> </table><Script Language="JavaScript" src="Player.js"> </Script> |
使用方法:
自己制作一个跟你的网站风格和谐的页面在适当的位置加上以上代码即可保存为qvod.php然后上传image文件夹、player.js和你制作的qvod.php到到/e/DownSys/play/下。
然后后台天加播放器就可以了