|
<a href="http://www.cuiz.net/player_down.htm" target="_blank">http://www.cuiz.net/player_down.htm</a><a href="http://www.cuiz.net/down.asp?type=1" target="_blank">http://www.cuiz.net/down.asp?type=1</a><a href="http://www.flashk.org/" target="_blank">http://www.flashk.org</a>第一个网址可以查看播放器样式,但无法下载,第二个是可以下载的网址,第三个是今天要介绍的播放器的网站地址今天给大家介绍的这款播放器,主体文件为flash,播放列表编辑用xml编辑,而它最大的卖点就是可以加载歌词,缺点是对某些压缩码率的音乐文件支持不好,试了下,好像只支持mp3文件,算是给大家多一种选择吧引用代码如下:<embedsrc="<a href="http://img.xiaonei.com/photos/20060822/0900/orig39350.swf" target="_blank">http://img.xiaonei.com/photos/20060822/0900/orig39350.swf</a>"width="350"height="500"quality="high"pluginspage="<a href="http://www.macromedia.com/go/getflashplayer" target="_blank">http://www.macromedia.com/go/getflashplayer</a>"type="application/x-shockwave-flash"flashvars="list=你的播放列表xml文件地址"name="S2"></embed>其中,width和height的值调整播放器面板大小播放列表xml文件格式<?xmlversion="1.0"encoding="utf-8"?><?xml-stylesheettype="text/xsl"href="playlist2005.xsl"?><playlistversion="1.5"firstRun="10"><musicname="张韶涵--隐形的翅膀"addres="<a href="http://img.xiaonei.com/photos/20060629/2130/orig77498.mp3" target="_blank">http://img.xiaonei.com/photos/20060629/2130/orig77498.mp3</a>"lrc="<a href="http://img.xiaonei.com/photos/20060822/1200/orig44178.txt" target="_blank">http://img.xiaonei.com/photos/20060822/1200/orig44178.txt</a>"/><musicname="我要的世界"addres="<a href="http://img.xiaonei.com/photos/20060821/1640/orig45410.mp3" target="_blank">http://img.xiaonei.com/photos/20060821/1640/orig45410.mp3</a>"/><musicname="恋着多喜欢"addres="<a href="http://img.xiaonei.com/photos/20060808/2320/orig66326.mp3" target="_blank">http://img.xiaonei.com/photos/20060808/2320/orig66326.mp3</a>"/></playlist>这里为了演示效果,放了第一首歌的歌词,如果是自己压缩或剪裁的歌曲,歌词可能要重新修改一下,如果是直接引用网上的完整版的歌曲,那么歌词文件就可以用千千静听自动下载的歌词,把扩展名改成txt就可以了演示代码:<embedsrc="<a href="http://img.xiaonei.com/photos/20060822/0900/orig39350.swf" target="_blank">http://img.xiaonei.com/photos/20060822/0900/orig39350.swf</a>"width="350"height="500"quality="high"pluginspage="<a href="http://www.macromedia.com/go/getflashplayer" target="_blank">http://www.macromedia.com/go/getflashplayer</a>"type="application/x-shockwave-flash"flashvars="list=http://img.xiaonei.com/photos/20060822/1350/orig47426.xml"name="S2"></embed> |
|