特效介绍
DewPlayer——非常漂亮的一款网页音乐播放器插件,采用Flash+XML,支持列表形式,支持专辑图片。引用非常简单,一段插入flash的代码即可。
使用方法
把下面列出来的代码放到您的网页中即可,注意修改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>