2.2.0 • Published 2 years ago

lrcplayer v2.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Js LrcMusicPlayer

A lrc audio subtitle player for web version.Perfectly implemented to avoid delays when the lyrics are too long.

You can go to https://ordylan.github.io/Js_LrcMusicPlayer/newtest.html and have a look.
And od-lrcplayer-main.js is the core code.
If you have better methods or suggestions, please tell me!

Try load(lrcUrl, audioUrl) or

fetch('list.json')//list
  .then(response => response.json())
  .then(data => {
    for (let i = 0; i < data.length; i++) {
      createPlaylistItem(
        data[i].title,
        data[i].lrc,
        data[i].audio
      );
    }
  })
  .catch(error => console.error('Error fetching JSON:', error));

.

2.2.0

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago