自建服务器(单曲)

demo

代码

1
2
3
4
5
6
7
8
9
<div class="aplayer" 
data-name="七里香"
data-artist="周杰伦"
data-url="https://cdn.jsdelivr.net/gh/lemon-yuan/CDN@master/music/七里香 - 周杰伦.mp3"
data-cover="https://cdn.jsdelivr.net/gh/lemon-yuan/CDN@master/music/七里香 - 周杰伦.jpg"
data-lrc="https://cdn.jsdelivr.net/gh/lemon-yuan/CDN@master/music/七里香 - 周杰伦.lrc"
data-preload="none"
data-autoplay="false"
data-mutex="true"></div>

歌手

demo

代码

1
2
3
4
5
6
7
8
<div class="aplayer" 
data-id="000PeZCQ1i4XVs"
data-server="tencent"
data-type="artist"
data-order="random"
data-preload="none"
data-autoplay="false"
data-mutex="true"></div>

歌单

demo

代码

1
2
3
4
5
6
7
8
<div class="aplayer" 
data-id="5089993118"
data-server="netease"
data-type="playlist"
data-order="random"
data-preload="none"
data-autoplay="false"
data-mutex="true"></div>

单曲

demo

代码

1
2
3
4
5
6
7
<div class="aplayer" 
data-id="004Fimy419PpsA"
data-server="tencent"
data-type="song"
data-preload="none"
data-autoplay="false"
data-mutex="true"></div>