[WordPress] 外掛分享: YGZ Music Widget

首頁外掛目錄 › YGZ Music Widget
全新外掛
安裝啟用
尚無評分
46 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.0+ v1.0.0 上架:2026-01-28

內容簡介

**總結:** YGZ 音樂小工具是一個強大的 WordPress 音樂播放器小工具,基於開源項目 APlayer 和 MetingJS。

1. **這個 WordPress 音樂播放器小工具的主要功能包括:**
- 支援多種音樂平台:網易雲音樂、QQ音樂、酷狗音樂、蝦米音樂、百度音樂
- 支援各種類型:單曲、播放列表、專輯、藝術家、搜索
- 具備豐富的播放器配置選項:音量、循環模式、播放順序、歌詞顯示等等
- 美觀的界面設計,可自訂主題顏色
- 支援固定底部模式和迷你模式
- 支援歌詞顯示
- 響應式設計,適應各種設備
- 完全本地化,無需外部CDN依賴
- 符合 WordPress 編碼標準

2. **使用方法:**
- 在 WordPress 管理儀表板中安裝並啟用外掛
- 前往「外觀」->「小工具」
- 找到「YGZ 音樂小工具」小工具
- 將其拖曳到側欄或其他小工具區域
- 配置播放器參數,如標題、音樂平台、類型、ID等

3. **如何獲取播放列表 ID:**
- 在瀏覽器中打開播放列表頁面
- 檢查 URL,例如:https://music.163.com/#/discover/toplist?id=3778678
- URL 中的數字部分(3778678)即為播放列表 ID

4. **相關資訊:**
- **APlayer**:乾淨、美麗且強大的 HTML5 音樂播放器
- **MetingJS**:APlayer 的擴展,支援主要音樂平台
- **授權**:此外掛遵守MIT授權
- **外部服務**:此外掛使用 Meting API 從各種音樂平台獲取音樂數據

如上所述,YGZ 音樂小工具提供了強大的音樂播放功能,並具有易於使用和豐富的設定選項。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「YGZ Music Widget」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

YGZ Music Widget is a powerful WordPress music player widget based on the open-source projects APlayer and MetingJS.
Main Features

Support for multiple music platforms: NetEase Cloud Music, QQ Music, Kugou Music, Xiami Music, Baidu Music
Support for various types: single song, playlist, album, artist, search
Rich player configuration options: volume, loop mode, play order, lyric display, etc.
Beautiful interface design with customizable theme colors
Support for fixed-bottom mode and mini mode
Support for lyric display
Responsive design, adapting to various devices
Fully localized, no external CDN dependencies
Compliant with WordPress coding standards

How to Use

Install and activate the plugin in the WordPress admin dashboard
Go to “Appearance” -> “Widgets”
Find the “YGZ Music Widget” widget
Drag it to the sidebar or other widget areas
Configure the player parameters:

Title: The display title of the widget
Music Platform: Select the music source (NetEase Cloud Music, QQ Music, etc.)
Type: Select the content type to play (single song, playlist, album, etc.)
ID: Enter the ID of the song/playlist/album (can be found in the URL of the music platform page)
Volume: Set the default volume (between 0-1)
Theme Color: Customize the player theme color
Loop Mode: Select all loop, single loop, or no loop
Play Order: Select list order or random play
Preload: Set the audio preload method
Lyric Type: Choose whether to display lyrics
List Max Height: Set the maximum height of the playlist
Autoplay: Check to autoplay when the page loads (may be blocked by browsers)
List Folded: Check to fold the playlist by default
Fixed Mode: Check to fix the player at the bottom of the page
Mini Mode: Check to display the mini player
Mutex: Check to pause other players when this player plays

How to Get Playlist ID

Open the playlist page in your browser
Check the URL, for example: https://music.163.com/#/discover/toplist?id=3778678
The number part in the URL (3778678) is the playlist ID

Credits

APlayer – Clean, beautiful, and powerful HTML5 music player
MetingJS – Extension for APlayer, supporting major music platforms

License
This plugin is open-source under the MIT License.
External Services
This plugin uses the following external service:

Meting API – Used by MetingJS to fetch music data from various music platforms
URL: https://api.i-meto.com/meting/api
Purpose: Retrieves music information, including song details, playlists, and lyrics
Data sent: Music platform, type of content, and ID when a player is initialized
Terms of Service: https://github.com/metowolf/MetingJS
Privacy Policy: https://api.i-meto.com/privacy

文章
Filter
Apply Filters
Mastodon