<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);
function volup(){
if (volv<100){
volv+=5;
phx.settings.volume=volv;
time.innerText=volv;}
else{time.innerText='最大';}
}
function voldown(){
if (volv>0){
volv-=5;
phx.settings.volume=volv;
time.innerText=volv;}
else{time.innerText='最小';}
}
</script>
<p>
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6">
<param value="http://www.yaoni.com.cn/music/aiqingnuomandi.wma";>
<param value="1">
<param value="0">
<param value="0">
<param value>
<param value="1">
<param value="-1">
<param value="0">
<param value="-1">
<param value>
<param value="50">
<param value="0">
<param value="full">
<param value="0">
<param value="0">
<param value="-1">
<param value="-1">
<param value="0">
<param value>
<param value>
<param value>
<param value>
<param value="0">
<param value="6482">
<param value="6350">
</object>
</p>
<input type=button value=mute onclick=phx.settings.mute=phx.settings.mute==true?false:true;time.innerText=phx.settings.mute==true?'静音':'关闭静音';>
<input type=button value=play onclick=phx.controls.play();time.innerText='播放';>
<input type=button value=pause onclick=phx.controls.pause();time.innerText='暂停';>
<input type=button value=stop onclick=phx.controls.stop();time.innerText='停止';>
<input type=button value=mode onclick=phx.settings.balance=phx.settings.balance=='100'?'-100':'100';time.innerText=phx.settings.balance=='100'?'右声道':'左声道';>
<input type=button value=vol++ onclick=volup();>
<input type=button value=vol-- onclick=voldown();>
<br>
<div></div>
<div><div></div></div>
复制代码 代码如下:
<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);
function volup(){
if (volv<100){
volv+=5;
phx.settings.volume=volv;
time.innerText=volv;}
else{time.innerText='最大';}
}
function voldown(){
if (volv>0){
volv-=5;
phx.settings.volume=volv;
time.innerText=volv;}
else{time.innerText='最小';}
}
</script>
<p>
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6">
<param value="http://www.wfzx.net/wf-phx/music/she_superstar.wmv";> <param value="1">
<param value="0">
<param value="0">
<param value>
<param value="1">
<param value="-1">
<param value="0">
<param value="-1">
<param value>
<param value="50">
<param value="0">
<param value="full">
<param value="0">
<param value="0">
<param value="-1">
<param value="-1">
<param value="0">
<param value>
<param value>
<param value>
<param value>
<param value="0">
<param value="6482">
<param value="6350">
</object>
</p>
<input type=button value=mute onclick=phx.settings.mute=phx.settings.mute==true?false:true;time.innerText=phx.settings.mute==true?'静音':'关闭静音';>
<input type=button value=play onclick=phx.controls.play();time.innerText='播放';>
<input type=button value=pause onclick=phx.controls.pause();time.innerText='暂停';>
<input type=button value=stop onclick=phx.controls.stop();time.innerText='停止';>
<input type=button value=mode onclick=phx.settings.balance=phx.settings.balance=='100'?'-100':'100';time.innerText=phx.settings.balance=='100'?'右声道':'左声道';>
<input type=button value=vol++ onclick=volup();>
<input type=button value=vol-- onclick=voldown();>
<input type=button value=fullscreen>
<br>
<div>正在加载媒体。。。</div>
<table id=bar><tr>
<td id=itcn bgcolor=#f70968></td>
<td id=bar2></td>
</tr></table>
各种播放器代码
1.avi格式
复制代码 代码如下: