-
Notifications
You must be signed in to change notification settings - Fork 0
/
playlist.html
executable file
·79 lines (72 loc) · 2.06 KB
/
playlist.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<!-- Audioplayer with playlist - based on github.com:NelsWebDev/BetterAudioPlaylist.git -->
<html lang="en">
<head>
<meta charset="UTF-8">
<title id="title">__TITLE__</title>
<link rel="shortcut icon" href="__ROOT__favicon.png" type="image/png">
<link rel="stylesheet" href="__ROOT__munic.css">
<style>
:root {
--BG_COL0: __BG_COL0__;
--BG_COL1: __BG_COL1__;
--BG_COL2: __BG_COL2__;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="headerbox">
<div>
<img src="__ALBUMART__" align="left" class="picture"/>
</div>
<div class="heading">
<div class="titles">
<h1><p>__TITLE0__</p></h1>
<h2><p>__TITLE1__</p></h2>
<h3><p>__TITLE2__</p></h3>
</div>
<div class="canvasdiv">
<canvas class="equalisercanvas"></canvas>
</div>
</div>
<div id="controls">
<a href="#" onclick="playlist.prevTrack();">⏮️</a>
<a href="#" onclick="playlist.nextTrack();">⏭️</a>
<a id="shuffle" href="#" onclick="playlist.toggleShuffle();">🔀</a>
<a id="loop" href="#" onclick="playlist.toggleLoop();">🔁</a>
</div>
</div>
<div class="content" >
<div id="playlistlinks" class="__LINKS_CLASS__">
<ul>
__PLAYLIST_LINKS__
</ul>
</div>
<div id="playlist">
<ul>
__PLAYLIST_ITEMS__
</ul>
</div>
</div>
<div class="footer">
<p id="nowplaying">-</p>
<audio controls id="audioPlayer1">
Sorry, your browser doesn't support html5!
</audio>
<audio id="audioPlayer2">
Sorry, your browser doesn't support html5!
</audio>
</div>
<div id="admin">
<a title="Refresh library" href="__REFRESH__">🔃</a>
</div>
<div id="searchbox" class="hidden"></div>
<script src="__AUDIOPLAY_JS__"></script>
<script src="__MUNEQ_JS__"></script>
<script>
var playlist = new AudioPlaylist();
</script>
</div>
</body>
</html>