聊代码(第一集)十二种小型音乐播放器
请关闭自动播放钮,逐一听取。
(一)手动,显示曲名及演奏者
代码:
<div style="text-align:center;"><embed flashvars="url=http://music.163.com/song/media/outer/url?id=362044.mp3&trackId=362044&trackName=步步高& artistName=江苏省歌舞团民族乐队 " height="34" src="https://s1.music.126.net/style/swf/LofterMusicPlayer.swf" type="application/x-shockwave-flash" width="257"></embed></span></div>
(二)最简单播放器,可复制歌曲地址
代码:
<embed height="50" src="https://fdfs.xmcdn.com/group50/M08/14/09/wKgKnVvgWi2TrsUfACfuDcd
9h3g847 .mp3" type="audio/mpeg" width="120"></embed>
(三)手动控制,一次播放,可复制歌曲地址
代码:
<audio controls="controls" src="http://music.163.com/song/media/outer/url?id=362044.mp3"> </audio>
(四)手动控制,循环播放,可复制歌曲地址
代码:
<audio controls="controls" loop="true" src="http://music.163.com/song/media/outer/url?id=790142.mp3 "> </audio>
(五)显示歌曲名称和播放进度,可自动或手动。
代码:
<embed flashvars="mp3=http://link.hhtjim.com/163/182015.mp3&n1=纤夫的爱&s=0&skin=0000ff" height="32px" src="//image109.360doc.com/DownloadSwf/2022/10/1113/253929827_1_20221011013657149.swf" type="application/x-shockwave-flash" width="160px"></embed></span></p> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table>
(六)循环重复播放
代码:
<p align="center"><embed autostart="1" border="0" controls="StatusBar,TACCtrl,ControlPanel" height="50" playcount="0" showtracker="1" src="http://music.163.com/song/media/outer/url?id=40249352.mp3" style="FILTER: Gray()" type="audio/x-ms-wma" volume="0" width="330"></embed></p>
(七)可写上文字的播放器
代码:
<embed flashvars="loop=1&autoPlay=true&url=http://music.163.com/song/media/outer/url?id=27836985.mp3&title=海特行者欢迎你&artist=你好" height="31" invokeurls="false" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://b.bst.126.net/common/spirit.swf?version=1.0.13&t=20110426" type="application/x-shockwave-flash" width="210" wmode="transparent"></embed>
(八)可写上文字的最微播放器
代码:
<embed flashvars="mp3=http://music.163.com/song/media/outer/url?id=452667515.mp3&n1=可写入想写的文字&s=0&skin=#006400" height="32px" src="http://img4.oldkids.cn/upload/12000/u11139/2012/09/30/blog_20120930204835655464 .swf" type="application/x-shockwave-flash" width="160px"></embed>
(九)播放同步歌词
代码:
<embed flashvars="mp3=http://www.oldkids.cn/upload/2019/06/21/ue_156110831461
42.mp3 &Amp;mp3n=《说再见不应该在秋天》江智民、周虹&lrc=[00:00.00]《说再见不应该在秋天》(歌词略去) " height="44" quality="high" src="//image109.360doc.com/DownloadSwf/2022/10/1113/253929827_2_20221011013657289.swf" type="application/x-shockwave-flash" width="356" wmode="transparent"></embed>
(十)显示歌名、歌手名;播放器可变七种颜色
代码:
<embed allowfullscreen="false" allownetworking="internal" allowscriptaccess="never" flashvars="mp3file=http://music.163.com/song/media/outer/url?id=1317457928.mp3&rolltext=【阿里山的姑娘】&bgNumber=9&s=0&r=0/1&skin=" height="100" invokeurls="false" quality="high" src="//image109.360doc.com/DownloadSwf/2022/10/1113/253929827_3_20221011013657367.swf" type="application/x-shockwave-flash" width="400" wmode="transparent"></embed>
(十一)可播放同步歌词并能嵌入头像
代码:
<embed flashvars="mp3=http://url.amp3a.com/kuwo.php/159613619.mp3&Amp;mp3n=《最美不过你的笑》胡蜜丹&Amp;lrc=[00:00.000]《最美不过你的笑》胡蜜丹(歌词略去)&Amp;tx=http://www.oldkids.cn/upload/2020/02/14/blog_20200214154630167.png" height="120" quality="high" src="http://dashan.link/bfq/txbfq.swf " type="application/x-shockwave-flash" width="750" wmode="transparent"></embed>
(十二)可播放多曲,同步歌词,并能任意改变播放进度。
代码:
<embed flashvars="mp3=
http://www.oldkids.cn/upload/2019/07/14/ue_15630907696186.mp3|
http://www.oldkids.cn/upload/2019/07/14/ue_15630908609932.mp3|
http://www.oldkids.cn/upload/2019/07/14/ue_15630909594887.mp3
&Amp;mp3n=《步步高》--江苏省歌舞团|《人间天河》阿鲁阿卓|《鸿雁》--呼斯楞&Amp;lrc=[00:00.00]《步步高》(乐曲)|[00:00.00]《人间天河》(歌词略去)|[00:00.00]《鸿 雁》(歌词略去)&Amp;s=1&Amp;gcys=ff0000&Amp;sjys=0000ff&Amp;dbys=8" height="50" quality="high" src="//image109.360doc.com/DownloadSwf/2022/10/1113/253929827_4_20221011013657446.swf" type="application/x-shockwave-flash" width="350" wmode="transparent"></embed>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。