Managed Audio Lifecycle
Howler-based loading, playback, pause, switching, cleanup, and recovery reduce multi-player audio resource risks.
HTML5 Music Player Plugin
Only two lines of code, quickly integrate a web music player
<script src="https://cdn.jsdelivr.net/npm/xf-music-player@latest/music-player.min.js"></script> <xf-music-player language="en" theme="xf-original-theme" mode="cloud" api-url="https://music.api.xfyun.club/api/v1/music/top?platform=netease&topId=3778678" is-auto-popup="true" autoplay="true"></xf-music-player>Quick Preview
This area is reserved for a player demo covering cloud playlists, themes, lyrics, responsive behavior, and debugging. Replace the video URL when the final media is ready.

Core Features
Audio lifecycle, cloud playlists, lyric synchronization, theme extension, and failure fallback are exposed through stable configuration and instance APIs, making integration predictable and maintainable.
Howler-based loading, playback, pause, switching, cleanup, and recovery reduce multi-player audio resource risks.
Use Web Component tags, IIFE, ESM, npm, or JavaScript instances in Vue, React, and static pages.
Delayed rendering, lazy loading, request cancellation, and state throttling reduce first-screen and runtime overhead.
Built-in themes, random themes, automatic themes, CSS variables, and custom theme styles adapt to different brands.
Supports LRC, structured lyrics, external lyric URLs, bottom lyrics, fullscreen lyrics, and race-safe switching.
Tab, Space, and arrow-key controls skip inputs and sliders while remaining compatible with macOS and Windows.
Order, repeat-one, shuffle, memory playback, and autoplay can be controlled by attributes or instance APIs.
Use cloud api-url, local playlists, or audioProvider with playlist refresh, skip, and consecutive failure protection.
The debugger configures cloud APIs, local playlists, themes, volume, and playback options, then generates integration code.
Use Cases
Add a visual listening entry for music, podcast, and content products.
Add fixed music playback without taking over the main content area.
Manage playlist, playback mode, memory state, and themes with one API.
FAQ
It is a web music player plugin built with HTML5, Howler, and Lit Web Components.
Yes. Use a cloud api-url or return SongInfo arrays through audioProvider.
Yes. The online debugger runs the published bundle and generates integration code.
This site is only for Xiao Feng Music Player product display, documentation, and feature debugging. Demo audio, covers, lyrics, and third-party API data are for demonstration only. Please verify copyright, API compliance, and usage scope before production integration.
Contact: 1809185784@qq.com; Name: Xiao Feng