#热门
蓝汇云音乐解析API与APlayer播放器的对接教程

2023-09-09 0 526

蓝汇云音乐解析API对接aplayer播放器

音乐解析API对接aplayer播放器

TP5开发的音乐解析API对接aplayer播放器

支持酷狗音乐,网易云音乐,QQ音乐的歌单解析API

酷狗歌单说明酷狗音乐不能解析到平台里的自建歌单

现在需要在程序里注册并且在添加歌单音乐请求示例

http://你的域名/index/music/index?id=2205345458

<div id="player" class="aplayer"></div>                     
<link rel="stylesheet" href="https://cdn.bootcss.com/aplayer/1.10.1/APlayer.min.css" rel="external nofollow"  />
<script src="https://cdn.bootcss.com/jquery/3.5.0/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/aplayer/1.10.1/APlayer.min.js"></script>
<script>
      $(function(){
      $.ajax({
      url:"https://wp.muooy.cn/index/music/index?id=2205345458", //把这里的链接替换你的歌单解析api
      success:function(e){
      var a=new APlayer({
      element:document.getElementById("aplayer"),
      autoplay:true,
      fixed:true,
      loop:"all",
      order:"random",
      listFolded:true,
      showlrc:3,
      theme:"#FFC0CB",
      listmaxheight:"200px",
      music:eval(e)});
      window.aplayers||(window.aplayers=[]),
      window.aplayers.push(a)}})})
</script>

蓝汇云音乐解析API与APlayer播放器的对接教程

资源下载此资源下载价格为6.6U点点击检测网盘有效后购买,VIP免费
客服QQ:305582964 联系邮箱:305582964@qq.com
收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

静鱼客栈 其他教程 蓝汇云音乐解析API与APlayer播放器的对接教程 https://wp.muooy.cn/24129.html

静鱼客栈的帅逼站长~

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务