什么用脚本语言制作一个属于自己风格的网络播放器?
谢谢!
<script language=javascript defer>
var volv=phx.settings.volume;
setInterval(\"if(phx.playState==3){time.innerText=phx.controls.currentPositionString+'|'+phx.currentMedia.durationString}\",1000);
setInterval(\"if(phx.playState==3){itcn.style.width=parseInt(245*(phx.controls.currentPosition/phx.currentMedia.duration))}\",1000);
</script><div align=\"center\" style=\"width:245 \">
<object classid=\"clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6\" id=\"phx\" width=\"245\" height=\"240\"
codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 standby=\"Loading Microsoft? Windows Media? Player components...\" type=application/x-oleobject>
<param name=\"URL\" value=\"karte.wmv\">
<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=\"0\"><!--取值true-->
<param name=\"currentMarker\" value=\"0\">
<param name=\"invokeURLs\" value=\"0\">
<param name=\"baseURL\" value>
<param name=\"volume\" value=\"50\">
<param name=\"mute\" value=\"0\">
<param name=\"uiMode\" value=\"none\"><!--取值full-->
<param name=\"stretchToFit\" value=\"0\">
<param name=\"windowlessVideo\" value=\"0\"><!--取值true-->
<param name=\"enabled\" value=\"-1\"><!--取值true-->
<param name=\"enableContextMenu\" value=\"-1\"><!--取值false-->
<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=\"6482\">
<param name=\"_cy\" value=\"6350\">
</object></div>
<div style=\"background-color:#99CCFF;width:245 \" align=\"center\">
<button onclick=\"phx.controls.play()\">播放</button>
<button onclick=\"phx.controls.stop()\">停止</button>
<button onclick=\"phx.controls.pause()\">暂停</button>
<button onclick=\"phx.settings.volume+=5;alert(phx.settings.volume)\">升音</button>
<button onclick=\"phx.settings.volume-=5;alert(phx.settings.volume)\">降音</button>
<button onclick=\"phx.settings.mute=true\">静音</button>
<button onclick=\"phx.settings.mute=false\">有音</button>
<button onclick=\"phx.settings.balance=100\">左声道</button>
<button onclick=\"phx.settings.balance=-100\">右声道</button>
<button onclick=\"phx.settings.balance=0\">中声道</button>
</div>
<div id=\"time\" style=\"background:#f2f3f7;width:245\"></div>
<div style=\"background:lightblue;width:245\">
<div id=\"itcn\" style=\"background:#f70997;width:0\"></div></div>