Git Product home page Git Product logo

aplayer-typecho's Introduction

Meting

在 Typecho 中使用 APlayer 播放在线音乐吧~ 发布页面

介绍

  1. 支持国内五大音乐平台(网易云、QQ、虾米、百度、酷狗)的单曲/专辑/歌单播放
  2. 简单快捷,复制音乐详情页面网址,后台自动生成播放代码
  3. 前端 APlayer,后端 Meting 及时更新,保证兼容性及 API 高可用性
  4. 支持 MySql、SQLite 数据库
  5. 支持 Redis, Memcached 缓存
  6. 支持自定义歌曲播放
  7. 自定义 API 支持

声明

本作品仅供个人学习研究使用,请勿将其用作商业用途。
!!切勿使用本插件代码下载版权保护音乐!!

安装

  1. 在本页面右上角点击 Download ZIP 下载压缩包
  2. 上传到 /usr/plugins 目录
  3. 修改文件夹名为 Meting
  4. 后台启用插件

使用

在文章编辑页面,点击编辑器上的 音乐图标 按钮,在弹出的窗口中输入音乐地址(见支持列表),最后点击确定即可

支持列表

网易云音乐 http://music.163.com

QQ 音乐 https://y.qq.com

虾米音乐 http://www.xiami.com or http://h.xiami.com

酷狗音乐 http://www.kugou.com

百度音乐 http://music.baidu.com/

FAQ

PJAX 页面切换问题?

需要视情况在主题设置中添加回调函数

停止播放

if (typeof aplayers !== 'undefined'){
    for (var i = 0; i < aplayers.length; i++) {
        try {aplayers[i].destroy()} catch(e){}
    }
}

重载播放器

loadMeting();
不支持混合歌单?

由于 2.x 版本重写了实现方式,旧的混合歌单将不再支持,建议通过各音乐平台创建歌单的方式添加。

升级问题?

目前插件支持在设置页面差量升级,但由于某些版本做了较大调整,可能造成插件无法使用,可以禁用插件再启用修复。

更多问题可以通过 issue 页面提交,或者通过 Telegram、邮件向我反馈

LICENSE

APlayer-Typecho is under the MIT license.

aplayer-typecho's People

Contributors

alandecode avatar metowolf avatar xyuanmu avatar zoharwang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.