APlayer 音乐播放器
一个 HTML 音乐播放器,可以实现博客全站音乐播放,具体效果见下
plugins:
aplayer: # APlayer (fixed version)
enable: false
audio:
- name: # audio name
artist: # audio artist
url: # audio url
cover: # audio cover url
- name:
artist:
url:
cover:
效果
配置
enable
是否启用audio
是音乐源name
音乐名字artist
歌手url
音乐源的url
。可以是相对链接,也可以是 web 链接cover
音乐的封面图片。请填写链接。可以是相对链接,也可以是 web 链接
示例配置
plugins:
aplayer: # APlayer
enable: true
audio:
- name: Imagine # audio name
artist: John Lennon # audio artist
url: https://evan.beee.top/music/Imagine%20-%20John%20Lennon.mp3 # audio url
cover: https://evan.beee.top/music/covers/Lennon_Imagine_Sleeve_1975.jpg # audio cover
- name: Something Just Like This
artist: Coldplay
url: https://evan.beee.top/music/Something%20Just%20Like%20This%20-%20The%20Chainsmokers%E3%80%81Coldplay.mp3
cover: https://evan.beee.top/music/covers/Something_Just_Like_This.png
更多
实际体验欢迎前往 Redefine 演示站点