APlayer Music Player
An HTML music player that can be used to play music throughout the entire blog. See the specific effects below.
plugins:
aplayer: # APlayer (fixed version)
enable: false
type: fixed # fixed, mini
audios:
- name: # audio name
artist: # audio artist
url: # audio url
cover: # audio cover url
- name:
artist:
url:
cover:
Effects
fixed
mode
mini
mode
Configuration
enable
Whether to enabletype
Player type,fixed
for fixed,mini
for miniaudios
Music sourcesname
Music nameartist
Artisturl
URL of the music source. It can be a relative link or a web linkcover
Cover image of the music. Please provide the link. It can be a relative link or a web link
Example Configuration
plugins:
aplayer: # APlayer
enable: true
audios:
- 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
More
For a real experience, please visit the Redefine Demo Site (opens in a new tab)
Plugin migrated from: https://github.com/DIYgod/APlayer (opens in a new tab)