“MyPlayer” WordPress Plugin Supporting NetEase Cloud Music

7,190 0

Introduction

While working on a website, I opened NetEase Cloud Music to listen to music and suddenly wanted to port its music player to a WordPress website. So I started searching extensively. After several hours, I finally found a style I liked and turned it into a WordPress plugin. I called it MyPlayer, and now I’m sharing it with everyone.

Plugin Screenshots

Backend settings:

Frontend demo:

User Guide

NetEase Cloud Music

Obtain songs through a playlist or album:

Local Music

Enter the following code in the code box, and remember to replace the content:

JSON
{
    "album": "专辑标题",
    "list": {
        "title": "歌名",
        "artist": "歌手名字",
        "cover": "歌曲图片链接",
        "mp3": "歌曲文件链接",
        "lrc": "歌词文件链接"
    },
    "tags": "标签"
},

Important notes:

  • The image link can use the following format (jpg)
  • The music link can use the following format (mp3)
  • The lyrics file can use the following format (lrc)

Plugin Features

  • Integrates music search functionality
  • Supports random playback and dragging the progress bar
  • Supports site-wide playback on Pjax or Ajax sites
  • Supports HTTPS encrypted transmission across the entire site
  • Supports customizing whether to hide/show the player on mobile devices
  • Supports customizing local songs

Comments

(0)

No comments yet. Start the conversation.

Leave a comment