Home >Web Front-end >JS Tutorial >A player that supports lrc lyrics implemented using javascript_javascript skills

A player that supports lrc lyrics implemented using javascript_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:13:291808browse

Supports lrc lyrics, IE only
The code is not encrypted and has detailed comments. I hope it will be helpful to friends who make music pages.
If you have any other players, please tell me so I can learn from them.
Features of this player:
1. The song address and lyrics address are in a common xml file, which is easy to update and modify.
2. Lyrics are obtained asynchronously through xmlhttp and will not block or freeze.
3. No matter how the size and position of the lrc layer are set, the lyrics are always in the center.
Disadvantages:
1. There is no smoothing effect on excessive lyrics, it is reached directly.
2. Since ff and op cannot use js control to change the song address on the client, there is no way. This player only supports IE.

Download this document

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn