Domain Rating by Ahrefs8
Description
SKPlayer is a small HTML5 music player that you add to a web page with a few lines of JavaScript. You place a div with an ID on the page and create the player with a configuration object. It can play a list of your own audio files, where each entry has a name, artist, source file and cover image, or it can load a NetEase Cloud Music playlist by its ID. Installation is either npm install skplayer or a full package downloaded from the v3.0 branch on GitHub, and the script can be loaded from the dist folder or required as a module. Options include autoplay, whether the list is shown, and a loop mode that repeats the whole list or a single song. A set of methods controls playback: play, pause, toggle, previous, next, switching to a song by its list number, toggling the list and mute, switching the loop mode, and destroying the instance. Only one player can exist at a time, so you destroy it before reconfiguring. The site notes that autoplay and volume control are not supported on mobile, and that the mute method may behave oddly there. It suits web developers who want a simple, good-looking player on a page.…
Highlights
- Plays your own audio files with names, artists and covers
- Loads a NetEase Cloud Music playlist by ID
- Playback methods for play, pause, next and previous
- Loop modes for the list or a single song
- Installs with npm
Ratings & Reviews
No ratings yet
Be the first to rate SkPlayer.
People also visit
SkPlayer FAQ
What is SKPlayer?
A simple HTML5 music player for web pages. You add a placeholder div and configure the player in JavaScript.
How do I install it?
Run npm install skplayer --save, or download the full package from the v3.0 branch on GitHub and load the dist script.
Can it play NetEase Cloud Music playlists?
Yes. Set the music type to cloud and give the playlist ID as the source. The site says the ID is taken from the playlist's web address.
Does it work on phones?
The site says autoplay and volume control are not supported on mobile, and the mute method may behave oddly there.
What are the best SkPlayer alternatives?
Popular alternatives to SkPlayer include Cliamp, React Modern Audio Player and Sylvakru. See all SkPlayer alternatives



