⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mp.htm

📁 漂亮的企业网站系统v11 1、整体修改了上一版的一些BUG。 2、修改了页面底部的统计形式。 3、修改了“公告更新”栏目
💻 HTM
字号:
<html>
<head>
<title>MEDIA</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
td {  font-size: 12px; color: #FFFFFF}
a {  color: #CCCCCC; text-decoration: none}
-->
</style>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide
function killErrors() {
return true;
}
window.onerror = killErrors;
//容错
// -->
</SCRIPT>
<script src=js/clearevents.js></script>
<SCRIPT language=JavaScript>
<!--
var srcc = window.location;
srcc = srcc.toString()
start = srcc.indexOf("?");
end = srcc.length;
if (start==-1){
srcc = "mms://winmedia.cctv.com.cn/live.wmv"
}

if (start!=-1){
srcc = srcc.substring(start+1,end);
}

//alert(srcc)



 day=17;
 month=5;
 year=2002;
 hour=18;
    if ( navigator.appName == "Netscape" )
    {
        navigator.plugins.refresh();
        document.write("\x3C" + "applet MAYSCRIPT Code=NPDS.npDSEvtObsProxy.class")
        document.writeln(" width=352 height=288 name=appObs\x3E \x3C/applet\x3E")
    }
var Player;
var isplaying;
var movelen;
var history;
var ispause;
var isstop;
history=false;
movelen=0;
isstop=false;
isplaying=false;
ispause=false;
mute=false;
Player="document.NSPlay";
var playfile='';
function preload(imgname,imgsrc)
{
	eval(imgname+'=new Image()')
	eval(imgname+'.src="images\/'+imgsrc+'"')
}
preload("play1","play.gif")
preload("play2","play_b.gif")
preload("stop1","stop.gif");
preload("stop2","stop_b.gif");
preload("sound1","sound.gif");
preload("sound2","sound_b.gif");
preload("volume","volume.gif");
preload("pause1","pause.gif");
preload("pause2","pause_b.gif");
preload("full1","full.gif");
preload("full2","full_b.gif");

function playy(src){
var abc
abc = src + ""
playhistory(abc)
}
function doPlay(){

  if(!isplaying){
    if (eval(Player).FileName=='') return;
	eval(Player).Play();
	if (eval(Player).FileName!=filename)
if(!ispause){	  
movelen=0;
}
    document.play.src=play2.src;
    document.stop.src=stop1.src;
    document.pause.src=pause1.src;
    isplaying=true;  
    ispause = false;
    isstop=false;
  }
}    


function DoStop()
{
  if(isplaying){
	eval(Player).CurrentPosition=0;
	eval(Player).Stop();
	document.play.src=play1.src;
    document.stop.src=stop2.src;
    document.pause.src=pause1.src;
    if (document.seek.style.visibility=="visible")
      document.seek.style.left=136;
    isstop=true;
    isplaying=false;
    ispause=false;
   } 
}


function DoPause()
{
if(isplaying){
   eval(Player).Pause();
   isplaying = false
   ispause = true
   isstop=false;
	document.play.src=play1.src;
    document.pause.src=pause2.src;
    document.stop.src=stop1.src;
}
}


function SetPosition(Pos)
{
	if (!isplaying) return;
	eval(Player).CurrentPosition=+Pos;
}

function SetVolume(Pos)
{
eval(Player).volume=Pos;
}

function SetMute()
{
	if (!isplaying) return
	
	if (mute){
		eval(Player).Mute=false
	    document.sound.src=sound1.src;	    
	    document.vol.style.visibility="visible";
	    mute=false	
	}	
	else{
	  eval(Player).Mute=true;
	  document.sound.src=sound2.src;
	  document.vol.style.visibility="hidden";
	  mute=true
	}  
}
function GetPosition()
{
	tt=eval(Player).CurrentPosition
	return tt;
}
function SetSource(srcname)
{
	if (srcname==filename){
	  history=false;
	  //eval(Player).AutoRewind=true;
	  document.seek.style.visibility="hidden";
	 } 
	 else{
	  document.seek.style.visibility="visible"; 
	  //eval(Player).AutoRewind=false;
	  history=true
	 } 
	eval(Player).FileName=srcname;
	document.play.src=play2.src;
    document.stop.src=stop1.src;
    isplaying=true;
}
function SetWH(widthpx,heightpx)
{
	eval(Player).width=widthpx
	eval(Player).height=heightpx
}
function SetDisplaySize(setting)
{
	if (isplaying)
  	  eval(Player).DisplaySize=setting
	//全屏 setting=3
	//100% setting=0
	// 50% setting=1
	//200% setting=2 
}
            


var x,theImg;

var Maxvol, Minvol


Maxvol=300;
Minvol=250;
cur=280;
function move(){
  if (event.button==1&&isplaying){
    left=temp1+event.clientX-x
      
    if ((left<=Maxvol)&&(left>=Minvol))
      theImg.style.pixelLeft=left
     else 
       if(left>Maxvol) 
         theImg.style.pixelLeft=Maxvol
         else
           theImg.style.pixelLeft=Minvol 
   // document.form1.pos.value=theImg.style.pixelLeft
  return false
  }
}
function enddrag(){
  
 //这里设置音量
 if (isplaying){
   cur=theImg.style.pixelLeft;
   cur=Math.floor((Maxvol-cur)/(Maxvol-Minvol)*(-2000)); 
   SetVolume(cur);
   document.onmousemove=null;
  } 

}


function begindrag(Elm){
  if (!document.all)
    return
  if (!isplaying)
    return   
  temp1=Elm.style.pixelLeft   
  theImg=Elm
  x=event.clientX;
  document.onmousemove=move     
}




var Start, End;
var seeking;
seeking=false

Start=136;
End=214;

function playhistory(src){
  SetSource(src);  
}
function showchoose() 
{ 
 if (document.all.menu1.style.display=="none") 
  document.all.menu1.style.display="block"; 
  else 
  {
  playhistory(document.formdisco.getyy.value+document.formdisco.getmm.value+document.formdisco.getdd.value+".wmv")
  document.all.menu1.style.display="none"; 
  }
} 

//-->
</SCRIPT>
<SCRIPT event=EndOfStream(lResult) for=NSPlay language=JScript>
    DoStop()    
</SCRIPT>
</head>


<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onLoad=playhistory(srcc)>
<IMG alt=音量调节(volume) height=11 id=vol name=vol onmousedown=begindrag(document.vol) onmouseup=enddrag() src="images/sound_button.gif" style="CURSOR: hand; LEFT: 280px; POSITION: absolute; TOP: 338px; visibility: visible" width=8> 
<IMG         
alt=时间调节(Time) height=11 id=seek name=seek src="images/course_button.gif" style="CURSOR: hand; LEFT: 136px; POSITION: absolute; TOP: 338px; VISIBILITY: visible" width=15>         
<table width="432" border="0" height="330" cellpadding="0" cellspacing="0" bgcolor="#4E565C">        
  <tr>        
    <td align="center"><object classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95      
            codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701      
            height=320 id=NSPlay type=application/x-oleobject width=422      
            VIEWASTEXT standby="加载 Microsoft Windows Media Player 组件...">     
        <param name="FileName" value="">     
        <param name="AutoStart" value="true">     
        <param name="AutoRewind" value="-1">     
        <param name="AnimationAtStart" value="false">     
        <param name="ShowControls" value="false">     
        <param name="ClickToPlay" value="false">     
        <param name="EnableContextMenu" value="0">     
        <param name="EnablePositionControls" value="false">     
        <param name="Balance" value="0">     
        <param name="ShowStatusBar" value="1">     
        <param name="AutoSize" value="0">     
        <embed      
            type="application/x-mplayer2"      
            pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"      
            filename src  autostart="false"      
			enablecontextmenu="false"      
			clicktoplay="false"        
			enablepositioncontrols="false"                     
            showcontrols="0" showstatusbar="1"                     
            showdisplay="0"                width="422" height="320">     
        </embed>      
      </object></td>        
  </tr>        
</table>        
<table width="432" border="0" cellpadding="0" cellspacing="0" height="1" bgcolor="#142E44">        
  <tr>        
    <td></td>        
  </tr>        
</table>        
<table width="432" border="0" height="27" cellpadding="0" cellspacing="0" bgcolor="3A3A3A">        
  <tr>         
    <td>        
      <table width="432" border="0" cellpadding="0" cellspacing="0">        
        <tr>         
          <td width="7">&nbsp;</td>        
          <td width="37"><img alt=开始播放(Play) onClick=Javascript:doPlay() border=0 height=11         
            name=play src="images/play.gif" width=37 style="cursor:hand"></td>        
          <td width="6">&nbsp;</td>        
          <td width="37"><img alt=停止播放(Stop) onClick=Javascript:DoStop() border=0 height=11         
            name=stop src="images/stop_b.gif" width=37 style="cursor:hand"></td>        
          <td width="6">&nbsp;</td>        
          <td width="37"><img src="images/pause.gif" alt=暂停播放(Pause) onClick=DoPause() width="37" height="11" border="0" name=pause style="cursor:hand"></td>        
          <td width="6">&nbsp;</td>        
          <td width="93"><img src="images/course.gif" width="93" height="11"></td>        
          <td width="6">&nbsp;</td>        
          <td width="11"><img src="images/sound.gif"alt=关闭/打开声音 onClick=SetMute() width="11" height="11" border="0" name=sound style="cursor:hand"></td>        
          <td width="6">&nbsp;</td>        
          <td> <img name=volume         
            src="images/volume.gif" width="52" height="11"></td>        
          <td width="86" align=center style="color:white" id="tvname">请选择电视台</td>        
          <td><img src="images/full.gif" alt=全屏播放 onClick=SetDisplaySize(3) width="11" height="11" border="0" style="cursor:hand" name=full></td>        
          <td width="7">&nbsp;</td>        
        </tr>        
      </table>        
    </td>        
  </tr>        
</table>        
<table width="432" border="0" cellpadding="0" cellspacing="0" height="1" bgcolor="#666666">        
  <tr>         
    <td></td>        
  </tr>        
</table>   
<SCRIPT language=JavaScript>        
cur=Math.floor((Maxvol-cur)/(Maxvol-Minvol)*(-2000));          
SetVolume(cur);         
playfile='';         
var filename='mms://61.153.17.61/cnoolzjty'        
if (playfile!=''){         
  SetSource(filename);          
}         
</SCRIPT>        
<div style="position:absolute;top:100000;width:0;height:0;overflow:scroll">
<p><a href="http://www.xicu.com">西楚霸网</a>&nbsp; <a href="http://www.xicu.com">西楚主站</a>&nbsp;      
<a href="http://www1.xicu.com">西楚一站</a> <a href="http://www2.xicu.com">西楚二站</a>      
<a href="http://movie.xicu.com">西楚影院</a> <a href="http://music.xicu.com">西楚音乐</a>      
<a href="http://flash.xicu.com">西楚FLASH动画站</a> <a href="http://bbs.xicu.com">霸王论坛</a>      
<a href="http://sms.xicu.com">西楚短信</a></p>     
<p><a href="http://sms.xicu.com/sms">免费手机铃声</a> <a href="http://tv.xicu.com">西楚在线电视</a>      
<a href="http://pic.xicu.com/">西楚图片网</a> <a href="http://mtv.xicu.com/">西楚MTV音乐电视</a>      
<a href="http://jokes.xicu.com">西楚笑话站</a> <a href="http://www.xicu.com/server/">便民服务</a></p>     
<p><a href="http://www.qqmi.com">网址天下</a> <a href="http://qqmi.com">QQ迷</a>      
<a href="http://www.zxmp3.com">在线MP3播放</a> <a href="http://www.zhaomp3.com">找MP3音乐动画网</a></p></div></body>        
<a href="http://www.xicu.com" target=_blank style="display:none;">返回西楚霸网</a></html>        

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -