(ZT)【制图帮助】基本音画贴的制作(二)by smallguy

本帖于 2012-10-09 20:39:42 时间, 由普通用户 beautifulwind 编辑
【制图帮助】基本音画贴的制作(二)

这一节专门讲述用m3u制作多曲连播。

用m3u做连播,简单、方便,而且音乐格式可以是mp3,也可以是wma,这样就省去了格式转换的问题。

打开notepad,把音乐链接一一粘贴到文本中,如下所示:

http://space.wenxuecity.com/media/201209/25/1348640352.mp3
http://space.wenxuecity.com/media/201209/25/1348640609.mp3
http://space.wenxuecity.com/media/201209/25/1348640279.mp3
http://space.wenxuecity.com/media/201209/25/1348640730.mp3

注意:
1.曲子可以随意增加或减少,但每一个链接必须占一行,绝对不许相连。
2.存储时,记着把后缀txt改为m3u,这样连播文件就制作好了。

把这个m3u文件上传到文学城的影音文件上传路径,得到url链接。
用这个新得到的m3u链接,替换下面代码中的mp3链接,其余不变。

<center>
<img src="http://i46.tinypic.com/wisnio.jpg" /><br/>
<embed height="30" type="audio/mpeg" width="700"
src="http://space.wenxuecity.com/media/201210/08/1349752457.m3u" autostart="true" loop="true"></embed>
</center><br/><br/>

效果图:




这里的autostart若是true,是自动播放,若是false就变成了手动播放。
loop是循环播放,设定原理跟上面autostart一样。

所有跟帖: 

请您先登陆,再发跟帖!