日期:2014-05-17  浏览次数:20867 次

如何连续播放多个音乐文件
如何连续播放多个音乐文件,用   微软的   OBJECT!

------解决方案--------------------
<div style= "float:right; ">
<OBJECT width= "420 " height= "300 " ID= "play " classid= "CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 ">
<param name= "URL " value= "playlist.asx ">
<param name= "uiMode " value= "full ">
<!-- uiMode控制显示方式 full是所有控制项 mini为简易控制项 invisible全部隐形 none不显示控制项 -->
<param name= "PlayCount " value= "0 ">

<param name= "AutoStart " value= "true ">
<param name= "AudioStream " value= "-1 ">
<param name= "AutoSize " value= "-1 ">
<!--自动播放-->
</OBJECT>
<BR>
<INPUT TYPE= "BUTTON " VALUE= "拨放 " OnClick= "play.controls.play() ">
<INPUT TYPE= "BUTTON " VALUE= "停止 " OnClick= "play.controls.stop() ">
<INPUT TYPE= "BUTTON " VALUE= "暂停 " OnClick= "play.controls.pause() ">
<INPUT TYPE= "BUTTON " VALUE= "快速前进 " OnClick= "play.controls.fastForward() ">
<INPUT TYPE= "BUTTON " VALUE= "上一首 " OnClick= "play.controls.previous() ">
<INPUT TYPE= "BUTTON " VALUE= "下一首 " OnClick= "play.controls.next() ">
</div>