发新帖  新投票  回帖 
帖子主题:『关于播放器』
403585753

回复时间:2014-8-25 13:10
太好太方便啦,谢谢森

 
QQ2028528018

回复时间:2014-12-21 11:53
大大,我想做列表播放器啊,有没有原码传我一下。谢谢!

 
QQ2028528018

回复时间:2014-12-21 12:23
忧郁的森 你好!我看到论坛好多朋友发的音乐帖里有那种带图片带播放器列表可以显示歌名的播放器,我觉得这种播放器挺好的,我也想用这种播放器。请你把类似这种播放器的源码发我一下,我也学着做一个。谢谢你!

 
wall0428

回复时间:2015-2-10 13:18
不瞒大家,真的没看懂也不懂如何整这个

 
ggzhi

回复时间:2015-3-15 17:15
试试,

 
gggqqq1188

回复时间:2015-9-15 11:53
手机不能播放音乐论坛里的音乐,请指教一下,谢谢

 
壮乡小伙

回复时间:2015-10-1 21:28


<html><title>播放器</title><META http-equiv=Content-Type content=text/html; charset=gb2312><SCRIPT>var objMmInfo = null;var intMmCnt = 0;var intSelMmCnt=0;var intActMmCnt=0;var cActIdx=0;var cActTit="nAnT";var strMmInfo ="Infomation";var blnfpl=false;var blnEnabled= false;var blnEOT=false;var arrSelMm=null;var arrActMm=null;var intExobudStat =0;var tidTLab=null;var tidErr=null;var tidMsg=null;var intErrCnt=0;var blnRept=false;var blnAutoProc = true;var blnElaps=true; var intDelay =500;function wmpInit(){ var wmps = Exobud.settings; var wmpc = Exobud.ClosedCaption; wmps.autoStart=true; wmps.balance=0; wmps.enableErrorDialogs=false; wmps.invokeURLs = false; wmps.mute=false; wmps.playCount=1; wmps.rate=1; wmps.volume = 100; if(blnUseSmi){wmpc.captioningID="capText";} Exobud.enabled=true;}function mkMmPath(u, t, f,s){ this.mmUrl = u; this.mmTit =t; this.mmDur =0; this.selMm=f; this.actMm=f; if(blnUseSmi){this.mmSmi=s;}}function mkList(u,t,s,f){ var cu=u; var ct=t; var cs=s; var cf=f; var idx=0; if(objMmInfo == null){ objMmInfo=new Array(); idx=0;} else{ idx=objMmInfo.length;} if(u=="" || u==null){cu="mms://";} if(t=="" || t==null){ct="未知歌曲";} if(f=="f" || f=="F"){cf="f";} else{cf="t"; intSelMmCnt=intSelMmCnt+1;} if(blnUseSmi){ objMmInfo[idx]=new mkMmPath(cu,ct,cf,cs);} else{objMmInfo[idx]=new mkMmPath(cu,ct,cf);} intActMmCnt=intSelMmCnt; intMmCnt=objMmInfo.length;}function mkSel(){ arrSelMm=null; intSelMmCnt=0; var selidx = 0; if(intMmCnt<=0){intExobudStat=1; blnEnabled=false; return;} arrSelMm=new Array(); for(var i=0; i.selMm =="t"){arrSelMm[selidx]=i;selidx=selidx+1;} } intSelMmCnt=arrSelMm.length; if(intSelMmCnt<=0){blnEnabled=false;intExobudStat=2; arrSelMm=null; return;} else{blnEnabled=true; mkAct();}}function mkAct(){ arrActMm=null; intActMmCnt=0; var selidx=0; var actidx=0; if(blnEnabled){ arrActMm=new Array(); for(var i=0; i; if(objMmInfo[selidx].actMm=="t"){arrActMm[actidx]=selidx; actidx=actidx+1;} } intActMmCnt=arrActMm.length; } else{return;} if(intActMmCnt<=0){blnEOT=true;arrActMm=null;} else{blnEOT=false;}}function chkAllSel(){ for(var i=0; i.selMm="t"; objMmInfo.actMm="t"; } mkSel();}function chkAllDesel(){ for(var i=0; i.selMm="f"; objMmInfo.actMm="f"; } mkSel();}function chkItemSel(idx){ if(objMmInfo[idx].selMm =="t"){objMmInfo[idx].selMm="f";objMmInfo[idx].actMm="f";} else{objMmInfo[idx].selMm="t";objMmInfo[idx].actMm="t";} mkSel();}function chkItemAct(idx){ objMmInfo[idx].actMm="f"; mkAct();}function mkSelAct(){ var idx=0; for(var i=0; i; objMmInfo[idx].actMm="t"; } mkAct();}function initExobud(){ wmpInit(); mkSel(); blnfpl=false; showTLab(); disp1.innerHTML=cActTit; if(blnStatusBar){window.status='播放器已准备就绪请点播放键';} if(blnAutoStart){startExobud();}}function startExobud(){ var wmps= Exobud.playState; if(wmps==2){Exobud.controls.play(); return;} if(wmps==3){return;} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} if(intErrCnt>0){intErrCnt=0;tidErr=setTimeout('retryPlay(),1000');return;} if(blnRndPlay){rndPlay();} else{cActIdx=arrActMm[0]; selMmPlay(cActIdx);}}function selMmPlay(idx){ clearTimeout(tidErr); cActIdx=idx; var trknum=idx+1; var ctit =objMmInfo[idx].mmTit; if(ctit=="nAnT"){ctit="Title Author 未知..."} if(blnUseSmi){Exobud.ClosedCaption.SAMIFileName = objMmInfo[idx].mmSmi;} Exobud.URL = objMmInfo[idx].mmUrl; cActTit="正在播放T" + trknum +":" + ctit; disp1.innerHTML = cActTit; if(blnStatusBar){window.status=(cActTit);} chkItemAct(cActIdx); }function wmpPlay(){Exobud.controls.play();}function wmpStop(){ intErrCnt=0; clearTimeout(tidErr); clearInterval(tidTLab); showTLab(); mkSelAct(); Exobud.controls.stop(); Exobud.close(); disp1.innerHTML=" [播放已停止]"; if(blnStatusBar){window.status=(' [播放器已准备就绪-请点播放键]');return true;}}function wmpPause(){Exobud.controls.pause();}function wmpPP(){ var wmps = Exobud.playState; var wmpc=Exobud.controls; clearInterval(tidTLab); clearTimeout(tidMsg); if (wmps == 2) {wmpc.play();} if (wmps == 3) {wmpc.pause();disp2.innerHTML="Pause"; tidMsg=setTimeout('rtnTLab()',1500);} return;}function rndPlay(){ if(!blnEnabled){waitMsg();return;} intErrCnt=0; var idx=Math.floor(Math.random() * intActMmCnt); cActIdx= arrActMm[idx]; selMmPlay(cActIdx);}function playAuto(){ if(blnRept){ selMmPlay(cActIdx); return;} if(!blnAutoProc){wmpStop();return;} if(blnfpl){wmpStop(); return;} if(!blnEnabled){wmpStop();return;} if(blnEOT){ if(blnLoopTrk){startExobud();} else{wmpStop();} } else{ if(blnRndPlay){rndPlay();} else{cActIdx= arrActMm[0]; selMmPlay(cActIdx);} }}function selPlPlay(idx){ blnfpl=true; selMmPlay(idx);}function playPrev(){ var wmps= Exobud.playState; if(wmps==2 || wmps==3){Exobud.controls.stop();} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} intErrCnt=0; if(blnRndPlay){rndPlay();} else{ var idx=cActIdx; var blnFind=false; for(var i=0;i){idx=i-1; blnFind=true;}} if(!blnFind){startExobud();return;} if(idx<0){idx=intSelMmCnt-1;cActIdx=arrSelMm[idx];} else{cActIdx=arrSelMm[idx];} selMmPlay(cActIdx); }}function playNext(){ var wmps= Exobud.playState; if(wmps==2 || wmps==3){Exobud.controls.stop();} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} intErrCnt=0; if(blnRndPlay){rndPlay();} else{ var idx=cActIdx; var blnFind=false; for(var i=0;i){idx=i+1; blnFind=true;}} if(!blnFind){startExobud();return;} if(idx>=intSelMmCnt){idx=0;cActIdx=arrSelMm[idx];} else{cActIdx=arrSelMm[idx];} selMmPlay(cActIdx); }}function retryPlay(){ selMmPlay(cActIdx);}function chkRept(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnRept){blnRept=false; disp2.innerHTML="Norm. Play";} else{blnRept=true; disp2.innerHTML="Repeat";} tidMsg= setTimeout('rtnTLab()',1000);}function chgPMode(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnRndPlay){blnRndPlay=false; disp2.innerHTML="顺序播放";} else{blnRndPlay=true; disp2.innerHTML="随机播放";} tidMsg=setTimeout('rtnTLab()',1000); }function evtOSChg(f){// 0(Undefined) 8(MediaChanging) 9(MediaLocating) 10(MediaConnecting) 11(MediaLoading) // 12(MediaOpening) 13(MediaOpen) 20(MediaWaiting) 21(OpeningUnknownURL) if(f==13){ var strTitle = Exobud.currentMedia.getItemInfo("title"); if(strTitle.length <=0){strTitle = "未知"} var strAuthor = Exobud.currentMedia.getItemInfo("Author"); if(strAuthor.length <=0){strAuthor = "未知"} var strCopy = Exobud.currentMedia.getItemInfo("Copyright"); if(strCopy.length <=0){strCopy = "未知"} var strType = Exobud.currentMedia.getItemInfo("MediaType"); var strDur=Exobud.currentMedia.durationString; var strUrl =Exobud.URL; var trknum=cActIdx+1; var ctit = objMmInfo[cActIdx].mmTit; if(ctit=="nAnT"){ objMmInfo[cActIdx].mmTit = strAuthor + " - " + strTitle; ctit=strAuthor + " - " + strTitle; cActTit="T"+ trknum + ". " +ctit; disp1.innerHTML = cActTit; } strMmInfo= "Media (Title) : " + strTitle + " (suvnet music:" + strType +")" + "\n\n" strMmInfo= strMmInfo + "Media (Author) : " + strAuthor + "\n\n" strMmInfo= strMmInfo + "Media (URL) : " +strUrl + "\n\n" strMmInfo= strMmInfo + "Media (Copyright) : " + strCopy +"\n\n" strMmInfo= strMmInfo + "Media (Duration) : " +strDur +"\n\n"; strMmInfo= strMmInfo + " suvnet music 2002-2003 \n"; if(blnShowMmInfo){alert(strMmInfo);} }}function evtPSChg(f){// 0(Undefined) 1(Stopped) 2 (Paused) 3(Playing) 4(ScanFowrd) 5(ScanReverse)// 6(Buffering) 7(Waitng) 8(MediaEnded) 9(Transitioning) 10(Redy) switch(f){ case 1: evtStop(); break; case 2: evtPause(); break; case 3: evtPlay(); break; case 8: setTimeout('playAuto()', intDelay); break; }}//evtWmpBuff()function evtWmpBuff(f){ if(f){ disp2.innerHTML = "Buffering"; var msg=cActTit; disp1.innerHTML = msg; if(blnStatusBar){window.status=cActTit;} } else{ disp1.innerHTML = cActTit; showTLab();}}//evtWmpError()function evtWmpError(){ intErrCnt=intErrCnt+1; if(intErrCnt<=3){ disp2.innerHTML="尝试联机("+intErrCnt+")"; var msg="(尝试第" + intErrCnt +"次联机) " +cActTit; disp1.innerHTML="<无法播放>" +cActTit; if(blnStatusBar){window.status=(msg);} tidErr=setTimeout('retryPlay()',1000); } else{ clearTimeout(tidErr); intErrCnt=0;showTLab(); var msg="已放弃尝试再联机。现在将会播放下一首曲目。"; if(blnStatusBar){window.status=(msg);} setTimeout('playAuto()',1000);}}function evtStop(){ clearTimeout(tidErr); clearInterval(tidTLab); showTLab(); intErrCnt=0; disp1.innerHTML=" [等待播放下一首曲目]"; if(blnStatusBar){window.status=(' [等待播放下一首曲目]');return true;}}function evtPause(){ clearInterval(tidTLab); showTLab();}function evtPlay(){ tidTLab=setInterval('showTLab()',1000);}//showTLab()function showTLab(){ var ps=Exobud.playState; if(ps==2 || ps==3){ var cp=Exobud.controls.currentPosition var cps=Exobud.controls.currentPositionString var dur=Exobud.currentMedia.duration; var durs=Exobud.currentMedia.durationString; if(blnElaps){disp2.innerHTML= cps+" | "+durs; var msg=cActTit + " ("+cps+" | "+durs+ ")"; if(ps==2){msg="(暂停) "+ msg;} if(blnStatusBar){window.status=(msg);return true;} } else{var laps= dur-cp; var strLaps=wmpTime(laps); disp2.innerHTML= strLaps + " | "+durs; var msg= cActTit + " (" + strLaps + " | "+durs + ")"; if(ps==2){msg="(暂停) "+ msg;} if(blnStatusBar){window.status=(msg);return true;} } } else{disp2.innerHTML="00:00 | 00:00";}}function chgTimeFmt(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnElaps){blnElaps=false; disp2.innerHTML="倒数方式";} else{blnElaps=true;disp2.innerHTML="正常方式";} tidMsg=setTimeout('rtnTLab()',1000); }// rtnTLab()function rtnTLab(){clearTimeout(tidMsg);var wmps=Exobud.playState;if(wmps == 3){tidTLab=setInterval('showTLab()',1000);}else{showTLab();}}function wmpTime(dur){ var hh, min, sec, timeLabel hh = Math.floor(dur/3600); min = Math.floor(dur / 60)%60; sec = Math.floor(dur % 60); if (isNaN(min)){ return "00:00"; } if (isNaN(hh) || hh==0){timeLabel="";} else{ if(hh >9){timeLabel = hh.toString()+":";} else{timeLabel="0"+hh.toString() +":";} } if ( min > 9 ){ timeLabel = timeLabel + min.toString() + ":"; } else {timeLabel = timeLabel + "0" +min.toString() + ":";} if ( sec > 9 ){timeLabel = timeLabel + sec.toString();} else{timeLabel = timeLabel + "0" + sec.toString();} return timeLabel;}var vmax = 100;var vmin=0;var vdep = 10;function wmpVolUp(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} var ps = Exobud.settings; if(ps.mute){ps.mute = false; disp2.innerHTML="音量恢复";} else{ if (ps.volume >= (vmax-vdep)) {ps.volume = vmax;} else { ps.volume = ps.volume + vdep;} disp2.innerHTML="音量: " + ps.volume +"%"; } tidMsg=setTimeout('rtnTLab()',1000);}function wmpVolDn(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} var ps = Exobud.settings; if(ps.mute){ps.mute = false;disp2.innerHTML="音量恢复";} else{ if (ps.volume <= vdep){ ps.volume = vmin;} else{ps.volume = ps.volume - vdep;} disp2.innerHTML="音量:" + ps.volume +"%"; } tidMsg=setTimeout('rtnTLab()',1000);}function wmpMute(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} var ps = Exobud.settings; if(!ps.mute){ps.mute = true;disp2.innerHTML="开启静音模式"; } else {ps.mute = false;disp2.innerHTML="关闭静音模式"; } tidMsg=setTimeout('rtnTLab()',1000);}// waitMsg() 函式: 显示因播放清单空白而无法播放的讯息function waitMsg(){ if(intExobudStat ==1){disp1.innerHTML="无法播放 - 播放清单上没有设定任何曲目。";} if(intExobudStat ==2){disp1.innerHTML="无法播放 - 您没有选取播放清单上任何一首曲目。";} if(blnStatusBar){ if(intExobudStat ==1){window.status=('无法播放 - 播放清单上没有设定任何曲目。');return true;} if(intExobudStat ==2){window.status=('无法播放 - 您没有选取播放清单上任何一首曲目。'); return true;} }}// chkWmpState() 函式: 当播放程序动作变更时,传回 playState 的状态值function chkWmpState(){// 0(Undefined) 1(Stopped) 2 (Paused) 3(Playing) 4(ScanFowrd) 5(ScanReverse)// 6(Buffering) 7(Waitng) 8(MediaEnded) 9(Transitioning) 10(Redy) return Exobud.playState;}function chkWmpOState(){// 0(Undefined) 8(MediaChanging) 9(MediaLocating) 10(MediaConnecting) 11(MediaLoading) // 12(MediaOpening) 13(MediaOpen) 20(MediaWaiting) 21(OpeningUnknownURL) return Exobud.openState;}function chkOnline(){// true(Network Connected) false(Network Lost)return Exobud.isOnline;}function tmtC_stopErrors(){return true;}var cblock=0;function dspList(n){ var seed=0,n,elms="",elm="",limit=0,list_num=0,inter="",page=""; var elmABlock=9;//每页歌曲数量设置 var totBlock= Math.floor((intMmCnt -1) / elmABlock)+1; var slump = Math.random(); var talet = Math.round(slump * (totBlock-1))+1; if(n==null){n=talet;} cblock=n; seed= elmABlock * (n-1); limit =n*elmABlock -1; if (intMmCnt.selMm=="t") {elm='' ;} else {elm = '';} elms = elms+elm +list_num+'..mmTit+'\n 点击播放">' + objMmInfo.mmTit.substring(0,25) + '下载'+inter; } for(var j=1; j<=totBlock; j++){ page=page+' '+j+' '; } mmList.innerHTML='
'+elms+'
'; pageList.innerHTML=page; eval("lp"+cblock+".style.color='#1100b4'"); pageInfo.innerHTML='当前是第'+n+ '页/共 '+ totBlock+' 页 现收录 '+intMmCnt+' 首歌曲 ';}function show5(){if(!document.layers&&!document.all)returnvar Digital=new Date()var hours=Digital.getHours()var minutes=Digital.getMinutes()var seconds=Digital.getSeconds()var dn="AM"if(hours>12){dn="PM"hours=hours-12}if(hours==0)hours=12if(minutes<=9)minutes="0"+minutesif(seconds<=9)seconds="0"+seconds//change font size here to your desiremyclock="现在的时间是:"+hours+":"+minutes+":"+seconds+" "+dn+""if(document.layers){document.layers.liveclock.document.write(myclock)document.layers.liveclock.document.close()}else if(document.all)liveclock.innerHTML=""setTimeout("show5()",1000)}function visi(){if (Exobud.style.display=="none"){ Exobud.style.display="block";}else{ Exobud.style.display="none";}}</SCRIPT><SCRIPT language=JavaScript></SCRIPT><SCRIPT language=JScript event=openStateChange(sf) for=Exobud> evtOSChg(sf); </SCRIPT><SCRIPT language=JScript event=playStateChange(ns) for=Exobud> evtPSChg(ns); </SCRIPT><SCRIPT language=JScript event=error() for=Exobud> evtWmpError(); </SCRIPT><SCRIPT language=JScript event=Buffering(bf) for=Exobud> evtWmpBuff(bf); </SCRIPT><BODY onload=initExobud();show5();dspList();>
开始 暂停 停止 上首 下首 视频
静音 降音 增音 模式 重复 00:00 | 00:00

全选 删除 播放
<SCRIPT>initExobud();</SCRIPT></body></html><script>mkList("http://www.xsdcsx.com/sourcefile/0/0/1/1528.mp3","真的好想你");mkList("http://xuite.cdn.hinet.net/xuite/e/0/e/3/15431647/blog_411654/dv/7357095/7357095.wma","渔家姑娘在海边");mkList("http://58.18.166.76:7002/pub/nmdj/jrnm/cysy/200906/W020090625702846086302.mp3","我和草原有个约定");mkList("http://wish.cbbn.net/music/moban/20060117105313527_97_S.wma","一剪梅(古筝)");mkList("http://jyd.eidensha.com/yinhua/fl/%E5%9C%A8%E6%9C%80%E6%B7%B1%E7%9A%84%E7%BA%A2%E5%B0%98%E9%87%8C%E9%87%8D%E9%80%A2.mp3",".在最深的红尘里重逢(二胡)");</script>


 
壮乡小伙

回复时间:2015-10-1 21:30


<html><title>播放器</title><META http-equiv=Content-Type content=text/html; charset=gb2312><SCRIPT>var objMmInfo = null;var intMmCnt = 0;var intSelMmCnt=0;var intActMmCnt=0;var cActIdx=0;var cActTit="nAnT";var strMmInfo ="Infomation";var blnfpl=false;var blnEnabled= false;var blnEOT=false;var arrSelMm=null;var arrActMm=null;var intExobudStat =0;var tidTLab=null;var tidErr=null;var tidMsg=null;var intErrCnt=0;var blnRept=false;var blnAutoProc = true;var blnElaps=true; var intDelay =500;function wmpInit(){ var wmps = Exobud.settings; var wmpc = Exobud.ClosedCaption; wmps.autoStart=true; wmps.balance=0; wmps.enableErrorDialogs=false; wmps.invokeURLs = false; wmps.mute=false; wmps.playCount=1; wmps.rate=1; wmps.volume = 100; if(blnUseSmi){wmpc.captioningID="capText";} Exobud.enabled=true;}function mkMmPath(u, t, f,s){ this.mmUrl = u; this.mmTit =t; this.mmDur =0; this.selMm=f; this.actMm=f; if(blnUseSmi){this.mmSmi=s;}}function mkList(u,t,s,f){ var cu=u; var ct=t; var cs=s; var cf=f; var idx=0; if(objMmInfo == null){ objMmInfo=new Array(); idx=0;} else{ idx=objMmInfo.length;} if(u=="" || u==null){cu="mms://";} if(t=="" || t==null){ct="未知歌曲";} if(f=="f" || f=="F"){cf="f";} else{cf="t"; intSelMmCnt=intSelMmCnt+1;} if(blnUseSmi){ objMmInfo[idx]=new mkMmPath(cu,ct,cf,cs);} else{objMmInfo[idx]=new mkMmPath(cu,ct,cf);} intActMmCnt=intSelMmCnt; intMmCnt=objMmInfo.length;}function mkSel(){ arrSelMm=null; intSelMmCnt=0; var selidx = 0; if(intMmCnt<=0){intExobudStat=1; blnEnabled=false; return;} arrSelMm=new Array(); for(var i=0; i.selMm =="t"){arrSelMm[selidx]=i;selidx=selidx+1;} } intSelMmCnt=arrSelMm.length; if(intSelMmCnt<=0){blnEnabled=false;intExobudStat=2; arrSelMm=null; return;} else{blnEnabled=true; mkAct();}}function mkAct(){ arrActMm=null; intActMmCnt=0; var selidx=0; var actidx=0; if(blnEnabled){ arrActMm=new Array(); for(var i=0; i; if(objMmInfo[selidx].actMm=="t"){arrActMm[actidx]=selidx; actidx=actidx+1;} } intActMmCnt=arrActMm.length; } else{return;} if(intActMmCnt<=0){blnEOT=true;arrActMm=null;} else{blnEOT=false;}}function chkAllSel(){ for(var i=0; i.selMm="t"; objMmInfo.actMm="t"; } mkSel();}function chkAllDesel(){ for(var i=0; i.selMm="f"; objMmInfo.actMm="f"; } mkSel();}function chkItemSel(idx){ if(objMmInfo[idx].selMm =="t"){objMmInfo[idx].selMm="f";objMmInfo[idx].actMm="f";} else{objMmInfo[idx].selMm="t";objMmInfo[idx].actMm="t";} mkSel();}function chkItemAct(idx){ objMmInfo[idx].actMm="f"; mkAct();}function mkSelAct(){ var idx=0; for(var i=0; i; objMmInfo[idx].actMm="t"; } mkAct();}function initExobud(){ wmpInit(); mkSel(); blnfpl=false; showTLab(); disp1.innerHTML=cActTit; if(blnStatusBar){window.status='播放器已准备就绪请点播放键';} if(blnAutoStart){startExobud();}}function startExobud(){ var wmps= Exobud.playState; if(wmps==2){Exobud.controls.play(); return;} if(wmps==3){return;} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} if(intErrCnt>0){intErrCnt=0;tidErr=setTimeout('retryPlay(),1000');return;} if(blnRndPlay){rndPlay();} else{cActIdx=arrActMm[0]; selMmPlay(cActIdx);}}function selMmPlay(idx){ clearTimeout(tidErr); cActIdx=idx; var trknum=idx+1; var ctit =objMmInfo[idx].mmTit; if(ctit=="nAnT"){ctit="Title Author 未知..."} if(blnUseSmi){Exobud.ClosedCaption.SAMIFileName = objMmInfo[idx].mmSmi;} Exobud.URL = objMmInfo[idx].mmUrl; cActTit="正在播放T" + trknum +":" + ctit; disp1.innerHTML = cActTit; if(blnStatusBar){window.status=(cActTit);} chkItemAct(cActIdx); }function wmpPlay(){Exobud.controls.play();}function wmpStop(){ intErrCnt=0; clearTimeout(tidErr); clearInterval(tidTLab); showTLab(); mkSelAct(); Exobud.controls.stop(); Exobud.close(); disp1.innerHTML=" [播放已停止]"; if(blnStatusBar){window.status=(' [播放器已准备就绪-请点播放键]');return true;}}function wmpPause(){Exobud.controls.pause();}function wmpPP(){ var wmps = Exobud.playState; var wmpc=Exobud.controls; clearInterval(tidTLab); clearTimeout(tidMsg); if (wmps == 2) {wmpc.play();} if (wmps == 3) {wmpc.pause();disp2.innerHTML="Pause"; tidMsg=setTimeout('rtnTLab()',1500);} return;}function rndPlay(){ if(!blnEnabled){waitMsg();return;} intErrCnt=0; var idx=Math.floor(Math.random() * intActMmCnt); cActIdx= arrActMm[idx]; selMmPlay(cActIdx);}function playAuto(){ if(blnRept){ selMmPlay(cActIdx); return;} if(!blnAutoProc){wmpStop();return;} if(blnfpl){wmpStop(); return;} if(!blnEnabled){wmpStop();return;} if(blnEOT){ if(blnLoopTrk){startExobud();} else{wmpStop();} } else{ if(blnRndPlay){rndPlay();} else{cActIdx= arrActMm[0]; selMmPlay(cActIdx);} }}function selPlPlay(idx){ blnfpl=true; selMmPlay(idx);}function playPrev(){ var wmps= Exobud.playState; if(wmps==2 || wmps==3){Exobud.controls.stop();} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} intErrCnt=0; if(blnRndPlay){rndPlay();} else{ var idx=cActIdx; var blnFind=false; for(var i=0;i){idx=i-1; blnFind=true;}} if(!blnFind){startExobud();return;} if(idx<0){idx=intSelMmCnt-1;cActIdx=arrSelMm[idx];} else{cActIdx=arrSelMm[idx];} selMmPlay(cActIdx); }}function playNext(){ var wmps= Exobud.playState; if(wmps==2 || wmps==3){Exobud.controls.stop();} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} intErrCnt=0; if(blnRndPlay){rndPlay();} else{ var idx=cActIdx; var blnFind=false; for(var i=0;i){idx=i+1; blnFind=true;}} if(!blnFind){startExobud();return;} if(idx>=intSelMmCnt){idx=0;cActIdx=arrSelMm[idx];} else{cActIdx=arrSelMm[idx];} selMmPlay(cActIdx); }}function retryPlay(){ selMmPlay(cActIdx);}function chkRept(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnRept){blnRept=false; disp2.innerHTML="Norm. Play";} else{blnRept=true; disp2.innerHTML="Repeat";} tidMsg= setTimeout('rtnTLab()',1000);}function chgPMode(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnRndPlay){blnRndPlay=false; disp2.innerHTML="顺序播放";} else{blnRndPlay=true; disp2.innerHTML="随机播放";} tidMsg=setTimeout('rtnTLab()',1000); }function evtOSChg(f){// 0(Undefined) 8(MediaChanging) 9(MediaLocating) 10(MediaConnecting) 11(MediaLoading) // 12(MediaOpening) 13(MediaOpen) 20(MediaWaiting) 21(OpeningUnknownURL) if(f==13){ var strTitle = Exobud.currentMedia.getItemInfo("title"); if(strTitle.length <=0){strTitle = "未知"} var strAuthor = Exobud.currentMedia.getItemInfo("Author"); if(strAuthor.length <=0){strAuthor = "未知"} var strCopy = Exobud.currentMedia.getItemInfo("Copyright"); if(strCopy.length <=0){strCopy = "未知"} var strType = Exobud.currentMedia.getItemInfo("MediaType"); var strDur=Exobud.currentMedia.durationString; var strUrl =Exobud.URL; var trknum=cActIdx+1; var ctit = objMmInfo[cActIdx].mmTit; if(ctit=="nAnT"){ objMmInfo[cActIdx].mmTit = strAuthor + " - " + strTitle; ctit=strAuthor + " - " + strTitle; cActTit="T"+ trknum + ". " +ctit; disp1.innerHTML = cActTit; } strMmInfo= "Media (Title) : " + strTitle + " (suvnet music:" + strType +")" + "\n\n" strMmInfo= strMmInfo + "Media (Author) : " + strAuthor + "\n\n" strMmInfo= strMmInfo + "Media (URL) : " +strUrl + "\n\n" strMmInfo= strMmInfo + "Media (Copyright) : " + strCopy +"\n\n" strMmInfo= strMmInfo + "Media (Duration) : " +strDur +"\n\n"; strMmInfo= strMmInfo + " suvnet music 2002-2003 \n"; if(blnShowMmInfo){alert(strMmInfo);} }}function evtPSChg(f){// 0(Undefined) 1(Stopped) 2 (Paused) 3(Playing) 4(ScanFowrd) 5(ScanReverse)// 6(Buffering) 7(Waitng) 8(MediaEnded) 9(Transitioning) 10(Redy) switch(f){ case 1: evtStop(); break; case 2: evtPause(); break; case 3: evtPlay(); break; case 8: setTimeout('playAuto()', intDelay); break; }}//evtWmpBuff()function evtWmpBuff(f){ if(f){ disp2.innerHTML = "Buffering"; var msg=cActTit; disp1.innerHTML = msg; if(blnStatusBar){window.status=cActTit;} } else{ disp1.innerHTML = cActTit; showTLab();}}//evtWmpError()function evtWmpError(){ intErrCnt=intErrCnt+1; if(intErrCnt<=3){ disp2.innerHTML="尝试联机("+intErrCnt+")"; var msg="(尝试第" + intErrCnt +"次联机) " +cActTit; disp1.innerHTML="<无法播放>" +cActTit; if(blnStatusBar){window.status=(msg);} tidErr=setTimeout('retryPlay()',1000); } else{ clearTimeout(tidErr); intErrCnt=0;showTLab(); var msg="已放弃尝试再联机。现在将会播放下一首曲目。"; if(blnStatusBar){window.status=(msg);} setTimeout('playAuto()',1000);}}function evtStop(){ clearTimeout(tidErr); clearInterval(tidTLab); showTLab(); intErrCnt=0; disp1.innerHTML=" [等待播放下一首曲目]"; if(blnStatusBar){window.status=(' [等待播放下一首曲目]');return true;}}function evtPause(){ clearInterval(tidTLab); showTLab();}function evtPlay(){ tidTLab=setInterval('showTLab()',1000);}//showTLab()function showTLab(){ var ps=Exobud.playState; if(ps==2 || ps==3){ var cp=Exobud.controls.currentPosition var cps=Exobud.controls.currentPositionString var dur=Exobud.currentMedia.duration; var durs=Exobud.currentMedia.durationString; if(blnElaps){disp2.innerHTML= cps+" | "+durs; var msg=cActTit + " ("+cps+" | "+durs+ ")"; if(ps==2){msg="(暂停) "+ msg;} if(blnStatusBar){window.status=(msg);return true;} } else{var laps= dur-cp; var strLaps=wmpTime(laps); disp2.innerHTML= strLaps + " | "+durs; var msg= cActTit + " (" + strLaps + " | "+durs + ")"; if(ps==2){msg="(暂停) "+ msg;} if(blnStatusBar){window.status=(msg);return true;} } } else{disp2.innerHTML="00:00 | 00:00";}}function chgTimeFmt(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnElaps){blnElaps=false; disp2.innerHTML="倒数方式";} else{blnElaps=true;disp2.innerHTML="正常方式";} tidMsg=setTimeout('rtnTLab()',1000); }// rtnTLab()function rtnTLab(){clearTimeout(tidMsg);var wmps=Exobud.playState;if(wmps == 3){tidTLab=setInterval('showTLab()',1000);}else{showTLab();}}function wmpTime(dur){ var hh, min, sec, timeLabel hh = Math.floor(dur/3600); min = Math.floor(dur / 60)%60; sec = Math.floor(dur % 60); if (isNaN(min)){ return "00:00"; } if (isNaN(hh) || hh==0){timeLabel="";} else{ if(hh >9){timeLabel = hh.toString()+":";} else{timeLabel="0"+hh.toString() +":";} } if ( min > 9 ){ timeLabel = timeLabel + min.toString() + ":"; } else {timeLabel = timeLabel + "0" +min.toString() + ":";} if ( sec > 9 ){timeLabel = timeLabel + sec.toString();} else{timeLabel = timeLabel + "0" + sec.toString();} return timeLabel;}var vmax = 100;var vmin=0;var vdep = 10;function wmpVolUp(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} var ps = Exobud.settings; if(ps.mute){ps.mute = false; disp2.innerHTML="音量恢复";} else{ if (ps.volume >= (vmax-vdep)) {ps.volume = vmax;} else { ps.volume = ps.volume + vdep;} disp2.innerHTML="音量: " + ps.volume +"%"; } tidMsg=setTimeout('rtnTLab()',1000);}function wmpVolDn(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} var ps = Exobud.settings; if(ps.mute){ps.mute = false;disp2.innerHTML="音量恢复";} else{ if (ps.volume <= vdep){ ps.volume = vmin;} else{ps.volume = ps.volume - vdep;} disp2.innerHTML="音量:" + ps.volume +"%"; } tidMsg=setTimeout('rtnTLab()',1000);}function wmpMute(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} var ps = Exobud.settings; if(!ps.mute){ps.mute = true;disp2.innerHTML="开启静音模式"; } else {ps.mute = false;disp2.innerHTML="关闭静音模式"; } tidMsg=setTimeout('rtnTLab()',1000);}// waitMsg() 函式: 显示因播放清单空白而无法播放的讯息function waitMsg(){ if(intExobudStat ==1){disp1.innerHTML="无法播放 - 播放清单上没有设定任何曲目。";} if(intExobudStat ==2){disp1.innerHTML="无法播放 - 您没有选取播放清单上任何一首曲目。";} if(blnStatusBar){ if(intExobudStat ==1){window.status=('无法播放 - 播放清单上没有设定任何曲目。');return true;} if(intExobudStat ==2){window.status=('无法播放 - 您没有选取播放清单上任何一首曲目。'); return true;} }}// chkWmpState() 函式: 当播放程序动作变更时,传回 playState 的状态值function chkWmpState(){// 0(Undefined) 1(Stopped) 2 (Paused) 3(Playing) 4(ScanFowrd) 5(ScanReverse)// 6(Buffering) 7(Waitng) 8(MediaEnded) 9(Transitioning) 10(Redy) return Exobud.playState;}function chkWmpOState(){// 0(Undefined) 8(MediaChanging) 9(MediaLocating) 10(MediaConnecting) 11(MediaLoading) // 12(MediaOpening) 13(MediaOpen) 20(MediaWaiting) 21(OpeningUnknownURL) return Exobud.openState;}function chkOnline(){// true(Network Connected) false(Network Lost)return Exobud.isOnline;}function tmtC_stopErrors(){return true;}var cblock=0;function dspList(n){ var seed=0,n,elms="",elm="",limit=0,list_num=0,inter="",page=""; var elmABlock=9;//每页歌曲数量设置 var totBlock= Math.floor((intMmCnt -1) / elmABlock)+1; var slump = Math.random(); var talet = Math.round(slump * (totBlock-1))+1; if(n==null){n=talet;} cblock=n; seed= elmABlock * (n-1); limit =n*elmABlock -1; if (intMmCnt.selMm=="t") {elm='' ;} else {elm = '';} elms = elms+elm +list_num+'..mmTit+'\n 点击播放">' + objMmInfo.mmTit.substring(0,25) + '下载'+inter; } for(var j=1; j<=totBlock; j++){ page=page+' '+j+' '; } mmList.innerHTML='
'+elms+'
'; pageList.innerHTML=page; eval("lp"+cblock+".style.color='#1100b4'"); pageInfo.innerHTML='当前是第'+n+ '页/共 '+ totBlock+' 页 现收录 '+intMmCnt+' 首歌曲 ';}function show5(){if(!document.layers&&!document.all)returnvar Digital=new Date()var hours=Digital.getHours()var minutes=Digital.getMinutes()var seconds=Digital.getSeconds()var dn="AM"if(hours>12){dn="PM"hours=hours-12}if(hours==0)hours=12if(minutes<=9)minutes="0"+minutesif(seconds<=9)seconds="0"+seconds//change font size here to your desiremyclock="现在的时间是:"+hours+":"+minutes+":"+seconds+" "+dn+""if(document.layers){document.layers.liveclock.document.write(myclock)document.layers.liveclock.document.close()}else if(document.all)liveclock.innerHTML=""setTimeout("show5()",1000)}function visi(){if (Exobud.style.display=="none"){ Exobud.style.display="block";}else{ Exobud.style.display="none";}}</SCRIPT><SCRIPT language=JavaScript></SCRIPT><SCRIPT language=JScript event=openStateChange(sf) for=Exobud> evtOSChg(sf); </SCRIPT><SCRIPT language=JScript event=playStateChange(ns) for=Exobud> evtPSChg(ns); </SCRIPT><SCRIPT language=JScript event=error() for=Exobud> evtWmpError(); </SCRIPT><SCRIPT language=JScript event=Buffering(bf) for=Exobud> evtWmpBuff(bf); </SCRIPT><BODY onload=initExobud();show5();dspList();>
开始 暂停 停止 上首 下首 视频
静音 降音 增音 模式 重复 00:00 | 00:00

全选 删除 播放
<SCRIPT>initExobud();</SCRIPT></body></html><script>mkList("http://www.xsdcsx.com/sourcefile/0/0/1/1528.mp3","真的好想你");mkList("http://xuite.cdn.hinet.net/xuite/e/0/e/3/15431647/blog_411654/dv/7357095/7357095.wma","渔家姑娘在海边");mkList("http://58.18.166.76:7002/pub/nmdj/jrnm/cysy/200906/W020090625702846086302.mp3","我和草原有个约定");mkList("http://wish.cbbn.net/music/moban/20060117105313527_97_S.wma","一剪梅(古筝)");mkList("http://jyd.eidensha.com/yinhua/fl/%E5%9C%A8%E6%9C%80%E6%B7%B1%E7%9A%84%E7%BA%A2%E5%B0%98%E9%87%8C%E9%87%8D%E9%80%A2.mp3",".在最深的红尘里重逢(二胡)");</script>[code][code]

[/code][/code]

 
壮乡小伙

回复时间:2015-10-1 21:31
这播放器怎么弄

 
zxy85

回复时间:2015-11-5 13:19
  <html><title>播放器</title><META http-equiv=Content-Type content=text/html; charset=gb2312><SCRIPT>var objMmInfo = null;var intMmCnt = 0;var intSelMmCnt=0;var intActMmCnt=0;var cActIdx=0;var cActTit="nAnT";var strMmInfo ="Infomation";var blnfpl=false;var blnEnabled= false;var blnEOT=false;var arrSelMm=null;var arrActMm=null;var intExobudStat =0;var tidTLab=null;var tidErr=null;var tidMsg=null;var intErrCnt=0;var blnRept=false;var blnAutoProc = true;var blnElaps=true; var intDelay =500;function wmpInit(){ var wmps = Exobud.settings; var wmpc = Exobud.ClosedCaption; wmps.autoStart=true; wmps.balance=0; wmps.enableErrorDialogs=false; wmps.invokeURLs = false; wmps.mute=false; wmps.playCount=1; wmps.rate=1; wmps.volume = 100; if(blnUseSmi){wmpc.captioningID="capText";} Exobud.enabled=true;}function mkMmPath(u, t, f,s){ this.mmUrl = u; this.mmTit =t; this.mmDur =0; this.selMm=f; this.actMm=f; if(blnUseSmi){this.mmSmi=s;}}function mkList(u,t,s,f){ var cu=u; var ct=t; var cs=s; var cf=f; var idx=0; if(objMmInfo == null){ objMmInfo=new Array(); idx=0;} else{ idx=objMmInfo.length;} if(u=="" || u==null){cu="mms://";} if(t=="" || t==null){ct="未知歌曲";} if(f=="f" || f=="F"){cf="f";} else{cf="t"; intSelMmCnt=intSelMmCnt+1;} if(blnUseSmi){ objMmInfo[idx]=new mkMmPath(cu,ct,cf,cs);} else{objMmInfo[idx]=new mkMmPath(cu,ct,cf);} intActMmCnt=intSelMmCnt; intMmCnt=objMmInfo.length;}function mkSel(){ arrSelMm=null; intSelMmCnt=0; var selidx = 0; if(intMmCnt<=0){intExobudStat=1; blnEnabled=false; return;} arrSelMm=new Array(); for(var i=0; i.selMm =="t"){arrSelMm[selidx]=i;selidx=selidx+1;} } intSelMmCnt=arrSelMm.length; if(intSelMmCnt<=0){blnEnabled=false;intExobudStat=2; arrSelMm=null; return;} else{blnEnabled=true; mkAct();}}function mkAct(){ arrActMm=null; intActMmCnt=0; var selidx=0; var actidx=0; if(blnEnabled){ arrActMm=new Array(); for(var i=0; i; if(objMmInfo[selidx].actMm=="t"){arrActMm[actidx]=selidx; actidx=actidx+1;} } intActMmCnt=arrActMm.length; } else{return;} if(intActMmCnt<=0){blnEOT=true;arrActMm=null;} else{blnEOT=false;}}function chkAllSel(){ for(var i=0; i.selMm="t"; objMmInfo.actMm="t"; } mkSel();}function chkAllDesel(){ for(var i=0; i.selMm="f"; objMmInfo.actMm="f"; } mkSel();}function chkItemSel(idx){ if(objMmInfo[idx].selMm =="t"){objMmInfo[idx].selMm="f";objMmInfo[idx].actMm="f";} else{objMmInfo[idx].selMm="t";objMmInfo[idx].actMm="t";} mkSel();}function chkItemAct(idx){ objMmInfo[idx].actMm="f"; mkAct();}function mkSelAct(){ var idx=0; for(var i=0; i; objMmInfo[idx].actMm="t"; } mkAct();}function initExobud(){ wmpInit(); mkSel(); blnfpl=false; showTLab(); disp1.innerHTML=cActTit; if(blnStatusBar){window.status='播放器已准备就绪请点播放键';} if(blnAutoStart){startExobud();}}function startExobud(){ var wmps= Exobud.playState; if(wmps==2){Exobud.controls.play(); return;} if(wmps==3){return;} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} if(intErrCnt>0){intErrCnt=0;tidErr=setTimeout('retryPlay(),1000');return;} if(blnRndPlay){rndPlay();} else{cActIdx=arrActMm[0]; selMmPlay(cActIdx);}}function selMmPlay(idx){ clearTimeout(tidErr); cActIdx=idx; var trknum=idx+1; var ctit =objMmInfo[idx].mmTit; if(ctit=="nAnT"){ctit="Title Author 未知..."} if(blnUseSmi){Exobud.ClosedCaption.SAMIFileName = objMmInfo[idx].mmSmi;} Exobud.URL = objMmInfo[idx].mmUrl; cActTit="正在播放T" + trknum +":" + ctit; disp1.innerHTML = cActTit; if(blnStatusBar){window.status=(cActTit);} chkItemAct(cActIdx); }function wmpPlay(){Exobud.controls.play();}function wmpStop(){ intErrCnt=0; clearTimeout(tidErr); clearInterval(tidTLab); showTLab(); mkSelAct(); Exobud.controls.stop(); Exobud.close(); disp1.innerHTML=" [播放已停止]"; if(blnStatusBar){window.status=(' [播放器已准备就绪-请点播放键]');return true;}}function wmpPause(){Exobud.controls.pause();}function wmpPP(){ var wmps = Exobud.playState; var wmpc=Exobud.controls; clearInterval(tidTLab); clearTimeout(tidMsg); if (wmps == 2) {wmpc.play();} if (wmps == 3) {wmpc.pause();disp2.innerHTML="Pause"; tidMsg=setTimeout('rtnTLab()',1500);} return;}function rndPlay(){ if(!blnEnabled){waitMsg();return;} intErrCnt=0; var idx=Math.floor(Math.random() * intActMmCnt); cActIdx= arrActMm[idx]; selMmPlay(cActIdx);}function playAuto(){ if(blnRept){ selMmPlay(cActIdx); return;} if(!blnAutoProc){wmpStop();return;} if(blnfpl){wmpStop(); return;} if(!blnEnabled){wmpStop();return;} if(blnEOT){ if(blnLoopTrk){startExobud();} else{wmpStop();} } else{ if(blnRndPlay){rndPlay();} else{cActIdx= arrActMm[0]; selMmPlay(cActIdx);} }}function selPlPlay(idx){ blnfpl=true; selMmPlay(idx);}function playPrev(){ var wmps= Exobud.playState; if(wmps==2 || wmps==3){Exobud.controls.stop();} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} intErrCnt=0; if(blnRndPlay){rndPlay();} else{ var idx=cActIdx; var blnFind=false; for(var i=0;i){idx=i-1; blnFind=true;}} if(!blnFind){startExobud();return;} if(idx<0){idx=intSelMmCnt-1;cActIdx=arrSelMm[idx];} else{cActIdx=arrSelMm[idx];} selMmPlay(cActIdx); }}function playNext(){ var wmps= Exobud.playState; if(wmps==2 || wmps==3){Exobud.controls.stop();} blnfpl=false; if(!blnEnabled){waitMsg();return;} if(blnEOT){mkSelAct();} intErrCnt=0; if(blnRndPlay){rndPlay();} else{ var idx=cActIdx; var blnFind=false; for(var i=0;i){idx=i+1; blnFind=true;}} if(!blnFind){startExobud();return;} if(idx>=intSelMmCnt){idx=0;cActIdx=arrSelMm[idx];} else{cActIdx=arrSelMm[idx];} selMmPlay(cActIdx); }}function retryPlay(){ selMmPlay(cActIdx);}function chkRept(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnRept){blnRept=false; disp2.innerHTML="Norm. Play";} else{blnRept=true; disp2.innerHTML="Repeat";} tidMsg= setTimeout('rtnTLab()',1000);}function chgPMode(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnRndPlay){blnRndPlay=false; disp2.innerHTML="顺序播放";} else{blnRndPlay=true; disp2.innerHTML="随机播放";} tidMsg=setTimeout('rtnTLab()',1000); }function evtOSChg(f){// 0(Undefined) 8(MediaChanging) 9(MediaLocating) 10(MediaConnecting) 11(MediaLoading) // 12(MediaOpening) 13(MediaOpen) 20(MediaWaiting) 21(OpeningUnknownURL) if(f==13){ var strTitle = Exobud.currentMedia.getItemInfo("title"); if(strTitle.length <=0){strTitle = "未知"} var strAuthor = Exobud.currentMedia.getItemInfo("Author"); if(strAuthor.length <=0){strAuthor = "未知"} var strCopy = Exobud.currentMedia.getItemInfo("Copyright"); if(strCopy.length <=0){strCopy = "未知"} var strType = Exobud.currentMedia.getItemInfo("MediaType"); var strDur=Exobud.currentMedia.durationString; var strUrl =Exobud.URL; var trknum=cActIdx+1; var ctit = objMmInfo[cActIdx].mmTit; if(ctit=="nAnT"){ objMmInfo[cActIdx].mmTit = strAuthor + " - " + strTitle; ctit=strAuthor + " - " + strTitle; cActTit="T"+ trknum + ". " +ctit; disp1.innerHTML = cActTit; } strMmInfo= "Media (Title) : " + strTitle + " (suvnet music:" + strType +")" + "\n\n" strMmInfo= strMmInfo + "Media (Author) : " + strAuthor + "\n\n" strMmInfo= strMmInfo + "Media (URL) : " +strUrl + "\n\n" strMmInfo= strMmInfo + "Media (Copyright) : " + strCopy +"\n\n" strMmInfo= strMmInfo + "Media (Duration) : " +strDur +"\n\n"; strMmInfo= strMmInfo + " suvnet music 2002-2003 \n"; if(blnShowMmInfo){alert(strMmInfo);} }}function evtPSChg(f){// 0(Undefined) 1(Stopped) 2 (Paused) 3(Playing) 4(ScanFowrd) 5(ScanReverse)// 6(Buffering) 7(Waitng) 8(MediaEnded) 9(Transitioning) 10(Redy) switch(f){ case 1: evtStop(); break; case 2: evtPause(); break; case 3: evtPlay(); break; case 8: setTimeout('playAuto()', intDelay); break; }}//evtWmpBuff()function evtWmpBuff(f){ if(f){ disp2.innerHTML = "Buffering"; var msg=cActTit; disp1.innerHTML = msg; if(blnStatusBar){window.status=cActTit;} } else{ disp1.innerHTML = cActTit; showTLab();}}//evtWmpError()function evtWmpError(){ intErrCnt=intErrCnt+1; if(intErrCnt<=3){ disp2.innerHTML="尝试联机("+intErrCnt+")"; var msg="(尝试第" + intErrCnt +"次联机) " +cActTit; disp1.innerHTML="<无法播放>" +cActTit; if(blnStatusBar){window.status=(msg);} tidErr=setTimeout('retryPlay()',1000); } else{ clearTimeout(tidErr); intErrCnt=0;showTLab(); var msg="已放弃尝试再联机。现在将会播放下一首曲目。"; if(blnStatusBar){window.status=(msg);} setTimeout('playAuto()',1000);}}function evtStop(){ clearTimeout(tidErr); clearInterval(tidTLab); showTLab(); intErrCnt=0; disp1.innerHTML=" [等待播放下一首曲目]"; if(blnStatusBar){window.status=(' [等待播放下一首曲目]');return true;}}function evtPause(){ clearInterval(tidTLab); showTLab();}function evtPlay(){ tidTLab=setInterval('showTLab()',1000);}//showTLab()function showTLab(){ var ps=Exobud.playState; if(ps==2 || ps==3){ var cp=Exobud.controls.currentPosition var cps=Exobud.controls.currentPositionString var dur=Exobud.currentMedia.duration; var durs=Exobud.currentMedia.durationString; if(blnElaps){disp2.innerHTML= cps+" | "+durs; var msg=cActTit + " ("+cps+" | "+durs+ ")"; if(ps==2){msg="(暂停) "+ msg;} if(blnStatusBar){window.status=(msg);return true;} } else{var laps= dur-cp; var strLaps=wmpTime(laps); disp2.innerHTML= strLaps + " | "+durs; var msg= cActTit + " (" + strLaps + " | "+durs + ")"; if(ps==2){msg="(暂停) "+ msg;} if(blnStatusBar){window.status=(msg);return true;} } } else{disp2.innerHTML="00:00 | 00:00";}}function chgTimeFmt(){ var wmps=Exobud.playState; if(wmps == 3){clearInterval(tidTLab);} if(blnElaps){blnElaps=false; disp2.innerHTML="倒数方式";} else{blnElaps=true;disp2.innerHTML="正常方式";}}// waitMsg() 函式: 显示因播放清单空白而无法播放的讯息function waitMsg(){ if(intExobudStat ==1){disp1.innerHTML="无法播放 - 播放清单上没有设定任何曲目。";} if(intExobudStat ==2){disp1.innerHTML="无法播放 - 您没有选取播放清单上任何一首曲目。";} if(blnStatusBar){ if(intExobudStat ==1){window.status=('无法播放 - 播放清单上没有设定任何曲目。');return true;} if(intExobudStat ==2){window.status=('无法播放 - 您没有选取播放清单上任何一首曲目。'); return true;}// chkWmpState() 函式: 当播放程序动作变更时,传回 playState 的状态值function chkWmpState(){// 0(Undefined) 1(Stopped) 2 (Paused) 3(Playing) 4(ScanFowrd) 5(ScanReverse)// 6(Buffering) 7(Waitng) 8(MediaEnded) 9(Transitioning) 10(Redy) return Exobud.playState;function chkWmpOState(){// 0(Undefined) 8(MediaChanging) 9(MediaLocating) 10(MediaConnecting) 11(MediaLoading) // 12(MediaOpening) 13(MediaOpen) 20(MediaWaiting) 21(OpeningUnknownURL) return Exobud.openState;}function chkOnline(){// true(Network Connected) false(Network Lost)return Exobud.isOnline;}function tmtC_stopErrors(){return true;}var cblock=0;function dspList(n){ var seed=0,n,elms="",elm="",limit=0,list_num=0,inter="",page=""; var elmABlock=9;//每页歌曲数量设置 var totBlock= Math.floor((intMmCnt -1) / elmABlock)+1; var slump = Math.random(); var talet = Math.round(slump * (totBlock-1))+1; if(n==null){n=talet;} cblock=n; seed= elmABlock * (n-1); limit =n*elmABlock -1; if (intMmCnt.selMm=="t") {elm='' ;} else {elm = '';} elms = elms+elm +list_num+'..mmTit+'\n 点击播放\">' + objMmInfo.mmTit.substring(0,25) + '下载'+inter; } for(var j=1; j<=totBlock; j++){ page=page+' '+j+' '; } mmList.innerHTML='
'+elms+'
'; pageList.innerHTML=page; eval("lp"+cblock+".style.color='#1100b4'"); pageInfo.innerHTML='当前是第'+n+ '页/共 '+ totBlock+' 页 现收录 '+intMmCnt+' 首歌曲 ';}function show5(){if(!document.layers&&!document.all)returnvar Digital=new Date()var hours=Digital.getHours()var minutes=Digital.getMinutes()var seconds=Digital.getSeconds()var dn="AM"if(hours>12){dn="PM"hours=hours-12}if(hours==0)hours=12if(minutes<=9)minutes="0"+minutesif(seconds<=9)seconds="0"+seconds//change font size here to your desiremyclock="现在的时间是:"+hours+":"+minutes+":"+seconds+" "+dn+""if(document.layers){document.layers.liveclock.document.write(myclock)document.layers.liveclock.document.close()}else if(document.all)liveclock.innerHTML=""setTimeout("show5()",1000)}function visi(){if (Exobud.style.display=="none"){ Exobud.style.display="block";}else{ Exobud.style.display="none";}var blnShowMmInfo =false;onerror=tmtC_stopErrors;--></SCRIPT><SCRIPT language=JScript event=openStateChange(sf) for=Exobud> evtOSChg(sf); </SCRIPT><SCRIPT language=JScript event=playStateChange(ns) for=Exobud> evtPSChg(ns); </SCRIPT><SCRIPT language=JScript event=error() for=Exobud> evtWmpError(); </SCRIPT><SCRIPT language=JScript event=Buffering(bf) for=Exobud> evtWmpBuff(bf); </SCRIPT><BODY onload=initExobud();show5();dspList();>
开始 暂停 停止 上首 下首 视频
降音 增音 模式 00:00 | 00:00

全选 删除 播放
<SCRIPT>initExobud();</SCRIPT>
</body></html><script>mkList("http://www.ikoumi.com/yunpan/cFIQc2qpVH6zd/6288.mp3","伶人歌");</script>
试试一下

 
漫步云端哟

回复时间:2015-11-14 14:30
怎么了?不要回复也可以看了吗?太奇怪了!呵呵

 
那小子1987

回复时间:2016-1-31 08:46
这个很方便

 
jeonygc

回复时间:2016-4-26 13:47
谁知道内置扬声器 Plezo韩国推超小MP3播放器多少钱?

 
90srehry

回复时间:2016-4-28 18:41
此主帖已经被cc8016设为精华帖帖子标题:肉丝加装硬盘播放器精华理由:自己动手,快乐似神仙

 
yoyo723

回复时间:2016-5-1 08:15
RCA 2001这款MP3播放器有音效均衡器和FM广播功能吗?

 
jimsjacob_en

回复时间:2016-5-3 13:20
RCA 2001这款MP3播放器有音效均衡器和FM广播功能吗?

 
哎呀别咬我呀

回复时间:2016-5-5 20:26
此主帖已经被cc8016设为精华帖帖子标题:肉丝加装硬盘播放器精华理由:自己动手,快乐似神仙

 
爱染红妃的猫

回复时间:2016-5-8 19:24
还没用过这个播放器

 
anmi99

回复时间:2016-5-16 10:24
此主帖已经被cc8016设为精华帖帖子标题:肉丝加装硬盘播放器精华理由:自己动手,快乐似神仙

 
anghszuuyansi

回复时间:2016-5-21 11:24
RCA 2001这款MP3播放器有音效均衡器和FM广播功能吗?

 
发新帖 新投票
 回帖
查看积分策略说明快速回复主题
你的用户名: 密码:   免费注册(只要30秒)


启用 Html 代码
使用个人签名
(请您文明上网理性发言!并遵守相关规定
   



Processed in 0.029803 s, 8 q - sitemap,