HTML代碼 <table width="100%" border="0" cellspacing="0" cellpadding="0"><br /><tr><br /><td><br /><b>線上音樂點播</b></td><br /></tr><br /></table><br /><br><br /><table align=center style="font:9pt"><br /><tr><br /><td> <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="286" height="225"><br /><param name="AudioStream" value="-1"><br /><param name="AutoSize" value="-1"><br /><!--是否自動調整播放大小--><br /><param name="AutoStart" value="-1"><br /><!--是否自動播放--><br /><param name="AnimationAtStart" value="-1"><br /><param name="AllowScan" value="-1"><br /><param name="AllowChangeDisplaySize" value="-1"><br /><param name="AutoRewind" value="0"><br /><param name="Balance" value="0"><br /><!--左右聲道平衡,最左-9640,最右9640--><br /><param name="BaseURL" value><br /><param name="BufferingTime" value="15"><br /><!--緩衝時間--><br /><param name="CaptioningID" value><br /><param name="ClickToPlay" value="-1"><br /><param name="CursorType" value="0"><br /><param name="CurrentPosition" value="0"><br /><!--當前播放進度 -1 表示不變,0表示開頭 單位是秒,比如10表示從第10秒處開始播放,值必須是-1.0或大於等於0--><br /><param name="CurrentMarker" value="0"><br /><param name="DefaultFrame" value><br /><param name="DisplayBackColor" value="0"><br /><param name="DisplayForeColor" value="16777215"><br /><param name="DisplayMode" value="0"><br /><param name="DisplaySize" value="0"><br /><!--視頻1-50%, 0-100%, 2-200%,3-全屏 其它的值作0處理,小數則採用四捨五入然後按前的處理--><br /><param name="Enabled" value="-1"><br /><param name="EnableContextMenu" value="-1"><br /><!-是否用右鍵快顯功能表控制--><br /><param name="EnablePositionControls" value="-1"><br /><param name="EnableFullScreenControls" value="-1"><br /><param name="EnableTracker" value="-1"><br /><!--是否允許拉動播放進度條到任意地方播放--><br /><param name="Filename" value="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>" valuetype="ref"><br /><param name="InvokeURLs" value="-1"><br /><param name="Language" value="-1"><br /><param name="Mute" value="0"><br /><!--是否靜音--><br /><param name="PlayCount" value="10"><br /><!--重複播放次數,0為始終重複--><br /><param name="PreviewMode" value="-1"><br /><param name="Rate" value="1"><br /><!--播放速度1.0-2.0倍的速度播放--><br /><param name="SAMILang" value><br /><param name="SAMIStyle" value><br /><param name="SAMIFileName" value><br /><!--選擇同時播放(伴音)的歌曲--><br /><param name="SelectionStart" value="-1"><br /><param name="SelectionEnd" value="-1"><br /><param name="SendOpenStateChangeEvents" value="-1"><br /><param name="SendWarningEvents" value="-1"><br /><param name="SendErrorEvents" value="-1"><br /><param name="SendKeyboardEvents" value="0"><br /><param name="SendMouseClickEvents" value="0"><br /><param name="SendMouseMoveEvents" value="0"><br /><param name="SendPlayStateChangeEvents" value="-1"><br /><param name="ShowCaptioning" value="0"><br /><!--是否顯示字幕,為一塊黑色,下面會有一大塊黑色,一般不顯示--><br /><param name="ShowControls" value="-1"><br /><!--是否顯示控制,比如播放,停止,暫停--><br /><param name="ShowAudioControls" value="-1"><br /><!--是否顯示音量控制--><br /><param name="ShowDisplay" value="0"><br /><!--顯示節目資訊,比如著作權等--><br /><param name="ShowGotoBar" value="0"><br /><!--一條框,在下面,有往下箭頭--><br /><param name="ShowPositionControls" value="-1"><br /><!--是否顯示往前往後及列表,如果顯示一般也都是灰色不可控制--><br /><param name="ShowStatusBar" value="-1"><br /><!--當前播放資訊,顯示是否現正播放,及總播放時間和當前播放至的時間--><br /><param name="ShowTracker" value="-1"><br /><!--是否顯示當前播放跟蹤條,即當前的播放進度條--><br /><param name="TransparentAtStart" value="-1"><br /><param name="VideoBorderWidth" value="0"><br /><!--顯示部的寬部,如果小於視頻寬,則最小為視頻寬,或者加大到指定值,並自動加大高度.此改變只改變四周的黑框大小,不改變視頻大小--><br /><param name="VideoBorderColor" value="0"><br /><!--顯示黑色框的顏色, 為RGB值,比如ffff00為黃色--><br /><param name="VideoBorder3D" value="0"><br /><param name="Volume" value="0"><br /><!--音量大小,負值表示是當前音量的減值,值自動會取絕對值,最大為0,最小為-9640,最大0--><br /><param name="WindowlessVideo" value="0"><br /><!--如果是0可以允許全屏,否則只能在視窗中查看--><br /></object> <br><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.filename);">查看當前任務</span><br><br /><b>MP3點播</b><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.filename='<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>';">周杰倫-夜曲</span><br /><br><br /><b>播放速度調整</b><br /><script><br />var mediaRate=document.MediaPlayer1.Rate;<br />var mediaVolume=document.MediaPlayer1.Volume;<br />var mediaCurrentPosition=document.MediaPlayer1.CurrentPosition;<br />function setRate(num)<br />{<br />mediaRate=num;<br />document.MediaPlayer1.Rate=num;<br />}<br />function addCurrentPosition(num)<br />{<br />mediaCurrentPosition=document.MediaPlayer1.CurrentPosition;<br />mediaCurrentPosition+=num;<br />if(mediaCurrentPosition<0)mediaCurrentPosition=0;<br />document.MediaPlayer1.CurrentPosition=mediaCurrentPosition;<br />}<br />function addVolume(num)<br />{<br />mediaVolume=document.MediaPlayer1.Volume;<br />if(num>0 && mediaVolume<-1)<br />{<br />mediaVolume+=num;<br />if(mediaVolume>-1)mediaVolume=-1;<br />document.MediaPlayer1.Volume=mediaVolume;<br />}<br />else<br />{<br />if(num<0 && mediaVolume>-9999)<br />{ mediaVolume +=num;<br />if(mediaVolume <-9999)mediaVolume=-9999;<br />document.MediaPlayer1.Volume=mediaVolume;<br />}<br />}<br />}<br />function addRate(num)<br />{<br />mediaRate=document.MediaPlayer1.Rate;<br />if(num>0 && mediaRate<12.0)<br />{<br />mediaRate+=num;<br />//if(mediaRate >2.0)mediaRate=2.0;<br />document.MediaPlayer1.Rate=mediaRate;<br />}<br />else<br />{<br />if(num<0 && mediaRate>0.1)<br />{ mediaRate +=num;<br />if(mediaRate <0.1)mediaRate=0.1;<br />document.MediaPlayer1.Rate=mediaRate;<br />}<br />}<br />}<br />function exchangeValue(obj)<br />{<br />if(obj=="0")<br />{<br />obj="-1";<br />}<br />else<br />{<br />obj="0";<br />}<br />return obj;<br />}<br /></script><br /><!--速度正常1.0<br />速度慢0.0<value<1.0<br />速度快1.0<value<2.0<br />--><br /><span style="cursor:hand" onClick="setRate(1.2);">較快</span> <span style="cursor:hand" onClick="addRate(0.1);">加速</span><br /><span style="cursor:hand" onClick="addRate(-0.1);">減速</span> <span style="cursor:hand" onClick="setRate(0.8);">較慢</span><br /><span style="cursor:hand" onClick="setRate(1);">正常</span> <span style="cursor:hand" onClick="alert(mediaRate);">查看速度</span><br /><br><br /><b>播放聲音調整</b> <span style="cursor:hand" onClick="document.MediaPlayer1.Mute=exchangeValue(document.MediaPlayer1.Mute);">靜音/取消</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.Mute);">查看</span><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Volume=-1">最大</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Volume=-9999">最小</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Volume=-180">預設</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Volume=-259">中大</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Volume=-399">中等</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Volume=-999">中小</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Volume=-1599">小</span><br /><span style="cursor:hand" onClick="addVolume(100);">加大音量</span> <span style="cursor:hand" onClick="addVolume(-100);">減少音量</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.Volume);">查看</span><br /><br><br /><b>播放介面控制</b><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.ShowCaptioning=exchangeValue(document.MediaPlayer1.ShowCaptioning);">顯示/隱藏字幕</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.ShowCaptioning);">查看</span><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.ShowControls=exchangeValue(document.MediaPlayer1.ShowControls);">顯示/隱藏播放控制</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.ShowControls);">查看</span><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.ShowAudioControls=exchangeValue(document.MediaPlayer1.ShowAudioControls);">顯示/隱藏音量控制</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.ShowAudioControls);">查看</span><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.ShowDisplay=exchangeValue(document.MediaPlayer1.ShowDisplay);">顯示/隱藏節日資訊</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.ShowDisplay);">查看</span><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.ShowGotoBar=exchangeValue(document.MediaPlayer1.ShowGotoBar);">顯示/隱藏GOTOBAR</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.ShowGotoBar);">查看</span><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.ShowPositionControls=exchangeValue(document.MediaPlayer1.ShowPositionControls);">顯示/隱藏位置控制</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.ShowPositionControls);">查看</span><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.ShowStatusBar=exchangeValue(document.MediaPlayer1.ShowStatusBar);">顯示/隱藏播放資訊</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.ShowStatusBar);">查看</span><br /><br><br /><span style="cursor:hand" onClick="document.MediaPlayer1.ShowTracker=exchangeValue(document.MediaPlayer1.ShowTracker);">顯示/隱藏播放跟蹤條</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.ShowTracker);">查看</span><br /><br><br /><b>聲道切換</b> <span style="cursor:hand" onClick="document.MediaPlayer1.Balance=-9640;">左聲道</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Balance=9640;">右聲道</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.Balance=0;">左右平衡</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.Balance);">查看</span><br /><br><br /><b>視頻視窗大小</b> <span style="cursor:hand" onClick="document.MediaPlayer1.DisplaySize=1;">50%</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.DisplaySize=0;">100%</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.DisplaySize=2;">200%</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.DisplaySize=3;">全屏</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.DisplaySize);">查看</span><br /><br><br /><b>播放進度控制</b> <span style="cursor:hand" onClick="document.MediaPlayer1.CurrentPosition=0;">回到開始</span><br /><span style="cursor:hand" onClick="addCurrentPosition(60);">前進一分鐘</span><br /><span style="cursor:hand" onClick="addCurrentPosition(-60);">後退一分鐘</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.CurrentPosition=99999;">到最後</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.CurrentPosition);">查看</span><br /><br><br /><b>選擇伴音</b> <span style="cursor:hand" onClick="document.MediaPlayer1.SAMIFileName='<a href="http://ok.xaonline.com/down/" target="_blank">http://ok.xaonline.com/down/</a>華人男歌手/周杰倫/暗號.mp3';">暗號</span><br /><span style="cursor:hand" onClick="document.MediaPlayer1.SAMIFileName='';">無</span><br /><span style="cursor:hand" onClick="alert(document.MediaPlayer1.SAMIFileName);">查看</span><br />(注意不能馬上生效,點擊後需要再重新播放歌曲) <span style="cursor:hand" onClick="alert(document.MediaPlayer1.maxlength);">查看</span><br /><script language=vbscript><br />for each obj in document.MediaPlayer1.all<br />messagebox(obj)<br />next<br /></script><br /></td></tr></table><br />
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]
銀灰面板
HTML代碼<embed src="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>" width="300" height="45" loop="-1" autostart="true"></EMBED>
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]
灰白面板
HTML代碼<embed style="FILTER: Gray()" src="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>" width="300" height="45" loop="-1" autostart="true"></EMBED>
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]
棕色面板
HTML代碼<embed style="FILTER: invert()" src="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>" width=300 height=45 loop="-1" autostart="true"></EMBED>
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]
黑色面板
HTML代碼<embed style="FILTER: xray()" src="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>" width=300 height=45 loop="-1" autostart="true"></EMBED>
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]
(帶顯示檔案播放資訊)
HTML代碼<embed src="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>" width=300 height=69 type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]
灰白色面板
HTML代碼<embed style="FILTER: Gray()" src="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>" width=300 height=69 type=application/x-mplayer2 loop="-1" showcontrols="1" ShowDisplay="0" ShowStatusBar="1" autostart="1"></EMBED>
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]
(顯示檔案標籤資訊)
HTML代碼<embed src="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>" loop="-1" width=300 height=140 balance="true" showpositioncontrols="true" showtracker="true" showaudiocontrols="true" showcontrols="true" showstatusbar="true" showdisplay="true" displaysize="0" volume="100" autosize="true" autostart="true" animationatstart="true" transparentatstart="true"></EMBED>
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]
(有映像的 media 播放器)
HTML代碼<param name="volume" value="100">是調整預設音量的選項,100是最大音量!<br /><object id="mPlayer1" width=300 height=300 classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"><br /><param name="URL" value="<a href="http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3" target="_blank">http://211.94.206.72/bbs/UploadFile/2006-4/20064302174313920.mp3</a>"><br /><param name="rate" value="1"><br /><param name="balance" value="0"><br /><param name="currentPosition" value="0"><br /><param name="defaultFrame" value><br /><param name="playCount" value="100"><br /><param name="autoStart" value="1"><br /><param name="currentMarker" value="0"><br /><param name="invokeURLs" value="1"><br /><param name="baseURL" value><br /><param name="volume" value="100"><br /><param name="mute" value="0"><br /><param name="uiMode" value="full"><br /><param name="stretchToFit" value="0"><br /><param name="windowlessVideo" value="0"><br /><param name="enabled" value="1"><br /><param name="enableContextMenu" value="1"><br /><param name="fullScreen" value="0"><br /><param name="SAMIStyle" value><br /><param name="SAMILang" value><br /><param name="SAMIFilename" value><br /><param name="captioningID" value><br /><param name="enableErrorDialogs" value="0"><br /><param name="_cx" value="7779"><br /><param name="_cy" value="1693"><br /></object><br />
[Ctrl+A 全部選擇 提示:你可先修改部分代碼,再按運行]