DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> JavaScript入門知識 >> 關於JavaScript >> 超酷的網頁音樂播放器DewPlayer使用方法
超酷的網頁音樂播放器DewPlayer使用方法
編輯:關於JavaScript     

使用方法:把代碼添加到模板中,或者像我一樣,放到廣告代碼中進行調用。注意修改swf文件和mp3文件路徑。如需自動開始並循環播放,請添加代碼 &autostart=1&autoreplay=1 ,如"mp3=http://www.x.com/x.mp3&autostart=1&autoreplay=1"。

 

1、stream[135x50]


復制代碼 代碼如下:
<embed flashvars="mp3=mp3/test1.mp3" type="application/x-shockwave-flash" bgcolor="#FFFFFF" src="dewplayer-stream.swf" height="50" width="135"></embed>

2、Mini[150x20]

復制代碼 代碼如下:
<object type="application/x-shockwave-flash" data="/flashdir/dewplayer-mini.swf" width="160" height="20" id="dewplayermini" name="dewplayermini">
<param name="movie" value="/flashdir/dewplayer-mini.swf" />
<param name="flashvars" value="mp3=flashdir/mp3/everywhere.mp3" />
</object>

3、Classic[200x20]


復制代碼 代碼如下:
<object type="application/x-shockwave-flash" data="/flashdir/dewplayer.swf" width="200" height="20" id="dewplayerclassic" name="dewplayerclassic">
<param name="movie" value="/flashdir/dewplayer.swf?mp3=flashdir/mp3/cesaria.mp3" />
<param name="flashvars" value="mp3=flashdir/mp3/cesaria.mp3" />
</object>

4、Multi[240x20]


復制代碼 代碼如下:
<object type="application/x-shockwave-flash" data="/flashdir/dewplayer-multi.swf" width="240" height="20" id="dewplayermulti" name="dewplayermulti">
<param name="movie" value="/flashdir/dewplayer-multi.swf" />
<param name="flashvars" value="mp3=flashdir/mp3/moldau.mp3|flashdir/mp3/cesaria.mp3|flashdir/mp3/everywhere.mp3" />
</object>

5、Multi Rect[240x20]

 

復制代碼 代碼如下:
<object type="application/x-shockwave-flash" data="/flashdir/dewplayer-multi.swf" width="240" height="20" id="dewplayermulti" name="dewplayermulti">
<param name="movie" value="/flashdir/dewplayer-multi.swf" />
<param name="flashvars" value="mp3=flashdir/mp3/moldau.mp3|flashdir/mp3/cesaria.mp3|flashdir/mp3/everywhere.mp3" />
</object>

6、Bubble[250x65]


復制代碼 代碼如下:
<object type="application/x-shockwave-flash" data="/flashdir/dewplayer-bubble.swf" width="250" height="65" id="dewplayerbub" name="dewplayerbub">
<param name="movie" value="/flashdir/dewplayer-bubble.swf" />
<param name="flashvars" value="mp3=flashdir/mp3/moldau.mp3" />
</object>

7、Playlist[240x400]
 

復制代碼 代碼如下:
<object type="application/x-shockwave-flash" data="/flashdir/dewplayer-playlist.swf" width="240" height="200" id="dewplayerpls" name="dewplayerpls">
<param name="movie" value="/flashdir/dewplayer-playlist.swf" />
<param name="flashvars" value="xml=/flashdir/playlist-full.xml" />
</object>

8、Playlist[240x400](帶封面)


復制代碼 代碼如下:
<object type="application/x-shockwave-flash" data="dewplayer-playlist.swf" width="240" height="200" id="dewplayer" name="dewplayer">
<param name="wmode" value="transparent" />
<param name="movie" value="dewplayer-playlist.swf" />
<param name="flashvars" value="showtime=true&autoreplay=true&xml=playlist.xml" />
</object>

9、Vinyl[303x113]

 
復制代碼 代碼如下:
<object type="application/x-shockwave-flash" data="/flashdir/dewplayer-vinyl.swf" width="303" height="113" id="dewplayervinyl" name="dewplayervinyl">
<param name="movie" value="/flashdir/dewplayer-vinyl.swf" />
<param name="flashvars" value="xml=flashdir/playlist.xml" />
</object>

打包下載地址
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved