Adding desktop lyric for your MUSE player, yet an example of building plugins for MUSE.
Just import muse-plugin-desktop-lyric.js
and muse-plugin-desktop-lyric.css
to your page.
<head>
<link rel="stylesheet" type="text/css" href="muse-plgin-desktop-lyric.css">
</head>
<!-- ...... -->
<script type="text/javascript" src="muse-player.js"></script>
<script type="text/javascript" src="muse-plugin-desktop-lyric.js"></script>
If you are going to build a plugin for MUSE, you can refer to this plugin.