发新帖  新投票  回帖 
帖子主题:『关于播放器』
215588个阅读者,122条回复 | 打印 | 订阅 | 收藏
忧郁的森

发表时间:2009-9-4 23:03

『关于播放器』   



忧郁的森 发表在 音乐地带 华声论坛 http://bbs.voc.com.cn/forum-77-1.html







如何使用小型FLASH播放器

各式单曲播放器

华声论坛播放器调用

[本帖最后由 梦逐芭蕉雨 于 2010-8-24 08:14 编辑]

本帖助威记录

Szjim +1
看了楼主的帖,神马都是浮云
2012-08-04 11:46:16
数码的年代 +1
还是不懂!
2012-03-26 22:40:24
小脚丫2001 +1
哦耶,还是不懂!
2011-08-31 15:19:44
总计:魅力3点 助威3查看所有助威>>

本帖最近评分记录
bolilala   2009-9-5 09:49  金钱  +10   谢谢森氏播放器 嘿:)
bolilala   2009-9-5 09:49  魅力  +10   谢谢森氏播放器 嘿:)



----------------------------------------------
一转身 百年寂寞
一回头 半生无聊!
 
饭米团

回复时间:2009-9-4 23:43
不错的生成器

改天用看看


 
梦逐芭蕉雨

回复时间:2009-9-5 00:18
来试试,生成的是啥样式的。

 
梦逐芭蕉雨

回复时间:2009-9-5 00:25
这个很方便
谢谢森版

 
aimi606

回复时间:2009-9-5 01:02
好东东改天试试

谢谢森版




----------------------------------------------
艺术的真正意义在于使人幸福,使人得到鼓舞和力量。
 
细听蝉鸣

回复时间:2009-9-5 01:12
谢谢,研究一下。

 
摆渡点抗么

回复时间:2009-9-5 01:21
森斑,这个解决了一个难题!好东西,顶~




----------------------------------------------
少年已白头,岁月正青春。
 
摆渡点抗么

回复时间:2009-9-5 01:26
我试了的,好好用,我们把它称之为森斑播放器怎么样?各位?




----------------------------------------------
少年已白头,岁月正青春。
 
bolilala

回复时间:2009-9-5 09:47
真管用 好方法 太便捷了

谢谢森版~!




----------------------------------------------
  舞 尽 最后的灿烂 落 尘
 
bolilala

回复时间:2009-9-5 09:48

原帖由 摆渡点抗么 于 2009-9-5 01:26 发表
我试了的,好好用,我们把它称之为森斑播放器怎么样?各位?

恩哼~~ 同意




----------------------------------------------
  舞 尽 最后的灿烂 落 尘
 
爱格格

回复时间:2009-9-5 11:22
感谢森版分享!




----------------------------------------------
~~~

华声论坛 影音帝国 官方QQ群
影视时空|音乐地带 QQ群:140288348 128111319 42933722
音乐快递QQ群:338549863 原声地带QQ群:344590352
高品质单曲QQ群:116060792 心情音乐QQ群:154659931
心情吟诵QQ群:190584521 音乐播放器QQ群:206520165 123212189

华声论坛 有你更精彩!!
 
runtulw

回复时间:2009-9-5 11:23
做好事的人总是有好报的……
嘻嘻!森版是好人




----------------------------------------------
无损音乐|5.1声道|720P高清(1080P太大)|立体电影……大包大揽
 
梦逐芭蕉雨

回复时间:2009-9-5 13:04

原帖由 摆渡点抗么 于 2009-9-5 01:26 发表
我试了的,好好用,我们把它称之为森斑播放器怎么样?各位?

嗯,可以啊,“森式播放器”?

 
逸铭

回复时间:2009-9-5 17:51
好棒。。谢谢。

 
月光伊人

回复时间:2009-9-5 19:32
试过了,好方便实用的播放器
森版厉害
谢谢哦!

 
水色潋滟

回复时间:2009-9-5 19:54
严重顶一下,森版这个播放器,解决我这样的小白的难题啦

 
weiyalei

回复时间:2009-9-5 20:37
太好太方便啦,谢谢森

 
水蓝羽翼

回复时间:2009-9-5 21:41
感谢森版,改天用用试试

 
baozhu

回复时间:2009-9-6 11:32
  5首歌曲连播试用一下。

<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>




----------------------------------------------
情系齐鲁是山东网友的家园,您来了请您洒下一滴甘露,您走了齐鲁会留下一片清香----欢迎各位常到齐鲁观光!
 
baozhu

回复时间:2009-9-6 11:34
我按步骤试用,为何成这样?




----------------------------------------------
情系齐鲁是山东网友的家园,您来了请您洒下一滴甘露,您走了齐鲁会留下一片清香----欢迎各位常到齐鲁观光!
 
发新帖 新投票
 回帖
查看积分策略说明快速回复主题
你的用户名: 密码:   免费注册(只要30秒)


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



Processed in 0.041759 s, 9 q - 无图精简版,sitemap,