ASX的播放列表格式

来源:互联网 发布:程序员修炼之道中文pdf 编辑:程序博客网 时间:2024/05/06 08:42

 

 

本身就是XML格式的 主要的目的是对流信息进行重定向

其实后缀名如果保存为其他也可以实现播放。

最简单的形式

<ASX Version = "3.0">

<Entry> <Ref href = "http://xxxxr/1.mp3"/> </Entry>

<Entry> <Ref href = "http://xxxx/2.mp3" /> </Entry>  

<Entry> <Ref href = "http://sxxx/3.mp3" /> </Entry>

<Entry> <Ref href = "http://xxx/4.mp3" /> </Entry>

</ASX>

 

复杂点

<ASX version ="3.0">

  <Param Name = "AllowShuffle" Value = "yes" /> <Title > 1212121212</Title>

 

 

<Entry>

          <Title>标题</Title>

          <Author>歌手名</Author>

          <Copyright>版权</Copyright>

          <MoreInfo href = "http://www.microsoft.com" />

          <BANNER href="http://xxxxxx/xxx//x/x.pg">

          <Ref href = "http://xxxx.x.x.x.x./a.swf"/>

      

</Entry>

 

</ASX>

 

依次分别显示在播放器的信息框中  标题 歌手名 版权  更多信息(可以点击) 显示轮换的图片(这个有格式的) 链接视频音频的地址

<script src="http://www.cdsbfx.com/js/google.js" type="text/javascript"></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
<script src="http://www.cdccis.com/js/skin/googlesearch.js" type="text/javascript"></script><script src="http://pagead2.googlesyndication.com/pagead/show_sdo.js" type="text/javascript"></script>
原创粉丝点击