jsp 实现播放列表

关键:classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"

决定播放的播放器,其他的不行

 

 

 

<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="mediaPlayerObj"

  width="260" height="260">

    <param name="url" value="http://localhost:8080/ch14mvsys/tmp/ulist928303183.asx">

    <param name="rate" value="1">

    <param name="balance" value="0">

    <param name="currentPosition" value="0">

    <param name="playCount" value="1">

    <param name="autoStart" value="-1">

    <param name="currentMarker" value="0">

    <param name="invokeURLs" value="-1">

    <param name="stretchToFit" value="-1">

    <param name="windowlessVideo" value="0">

    <param name="enabled" value="-1">

    <param name="enableContextMenu" value="0">

    <param name="fullScreen" value="0">

    <param name="enableErrorDialogs" value="0">

  </object>

 

 

ASX文件

 在记事本中输入以下内容,根据实际情况而定。改后缀名为.asx.

<asx version="3.0">

<entry><ref href="http://localhost:8080/ch14mvsys/music/01.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/02.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/10.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/06.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/08.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/11.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/09.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/07.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/12.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/05.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/04.mp3"/></entry>

<entry><ref href="http://localhost:8080/ch14mvsys/music/03.mp3"/></entry>

</asx>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值