音乐播单

发表于:2017-02-21 18:55:26

插入方法:

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=520 height=520 src="//music.163.com/outchain/player?type=0&id=100845969&auto=0&height=430">
</iframe>

播放器可修改参数:

width=100% #自适应宽度
height=450 #根据自己喜好修改
id=34238509 #为歌曲列表页的ID ,例如:http://music.163.com/#/playlist?id=100845969
auto=0  #0为不自动播放,1为自动播放

或插入Aplayer&Meting:

<!-- require APlayer -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10/dist/APlayer.min.css">
<script src="https://cdn.jsdelivr.net/npm/aplayer@1.10/dist/APlayer.min.js"></script>

<div class="aplayer"
    data-id="100845969"
    data-server="netease"
    data-type="playlist">
</div>
<script src="https://unpkg.com/meting@1.2/dist/Meting.min.js"></script>
评论
你好,访客