CSDN博客

img bgu

网页中自动连续播放音乐文件的实现

发表于2004/10/26 11:29:00  989人阅读

分类: [技术相关]

播放页PlayMusic.htm:
<OBJECT id=Player style="LEFT: 0px; POSITION: relative; height:62px;width:100%"
type=application/x-oleobject classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6>
<PARAM NAME="URL" VALUE="Song.pls">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="playCount" VALUE="2">
</OBJECT>

曲目列表页:song.pls
<ASX Version="3.0" PREVIEWMODE="NO">
<entry>
  <ref href="DownLoad/Music/cxjd.mp3" />
    <param name="singer_name" value="李圣洁"/>
    <param name="song_name" value="痴心绝对"/>
</entry>

<entry>
  <ref href="DownLoad/Music/jsb.mp3" />
    <param name="singer_name" value="周传雄"/>
    <param name="song_name" value="记事本"/>
</entry>

<entry>
  <ref href="DownLoad/Music/mlxq.mp3" />
    <param name="singer_name" value="本都RuRu"/>
    <param name="song_name" value="美丽心情"/>
</entry>

<entry>
  <ref href="DownLoad/Music/TakeMeToYourHeart.mp3" />
    <param name="singer_name" value="摇滚麦克合唱团"/>
    <param name="song_name" value="TakeMeToYourHeart"/>
</entry>
</ASX>

阅读全文
0 0

相关文章推荐

img
取 消
img