Add durations and LRC files to music page
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<!-- require APlayer -->
|
||||
<link rel="stylesheet" href="/css/APlayer.css">
|
||||
<script src="/js/APlayer.min.js"></script>
|
||||
<script src="/js/APlayer.js"></script>
|
||||
|
||||
<div id="aplayer"></div>
|
||||
|
||||
@ -72,6 +72,10 @@
|
||||
|
||||
url: "{{ index (split ($.Get "url") ",") $i }}",
|
||||
|
||||
{{ with index (split ($.Get "duration") ",") $i }}
|
||||
duration: "{{ . }}",
|
||||
{{ end }}
|
||||
|
||||
{{ with index (split ($.Get "artist") ",") $i }}
|
||||
artist: "{{ . }}",
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user