WP Manifestindependent plugin directory
manifest / media / qplayer-wordpress-plugin

QPlayer

简洁美观 の 悬浮WordPress音乐播放器插件

by Jrohy · github.com/jrohy/qplayer-wordpress-plugin · website

42stars
11forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/jrohy/qplayer-wordpress-plugin/archive/refs/heads/master.zip

一款简洁小巧的WordPress底部悬浮音乐播放器插件. 支持网易云音乐解析。效果展示: https://32mb.space

界面

QPlayer.PNG

使用方法

Download ZIP, 解压,将 QPlayer-WordPress-Plugin-master 重命名为 QPlayer ,之后上传到你博客中的 /wp-content/plugins 目录,在后台启用即可

插件后台配置歌曲格式:

{title:"xxx", artist:"xxx", cover:"http:xxxx", mp3:"http:xxxx"} ,每个歌曲之间用英文,隔开。 请保证歌曲列表里至少有一首歌

添加网易云音乐(需主机支持curl扩展)

去网易云音乐官网找到音乐id,支持 歌单|艺人|专辑|单曲 类型的id解析(单曲解析需国内服务器),billboard等排行榜也支持(实质就是歌单)。 netEaseID

更多详细说明请参见插件后台。

建议网站加入PJAX来实现跨页面播放音乐,在wordpress插件后台搜索Advanced AJAX Page Loader插件安装即可