Aplayer Music Player

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 Screenshot 2023-03-01 at 8.33.51 PM

mini mode mini

Configuration

  • enable Whether to enable
  • type Player type, fixed for fixed, mini for mini
  • audios Music sources
    • name Music name
    • artist Artist
    • url URL of the music source. It can be a relative link or a web link
    • cover 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)