-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
70 lines (53 loc) · 2.07 KB
/
index.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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>HTML5 Music Player</title>
<link href='assets/css/styles.css' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="assets/css/font-awesome-4.3.0/css/font-awesome.min.css">
<link rel="shortcut icon" href="/assets/img/favicon.ico" type="image/x-icon" />
<script src="assets/js/webtorrent.min.js"></script>
</head>
<body>
<div class="howTo">
Paste hash here <input id="inputHash" type="text" name="hash"><input id="loadBtn" type="button" value="Load" onclick="loadHash()">
</div>
<div id="container" class="disabled">
<div id="cover-art">
<div id="cover-art-big"></div>
<img id="cover-art-small" alt="cover-art-small" src="assets/img/default.png">
</div>
<div id="wave"></div>
<div id="control-bar">
<div class="player-control">
<div id="previous-button" title="Previous"><i class="fa fa-fast-backward fa-2x"></i></div>
<div id="play-button" title="Play"><i class="fa fa-play fa-2x"></i></div>
<div id="pause-button" title="Pause"><i class="fa fa-pause fa-2x"></i></div>
<div id="stop-button" title="Stop"><i class="fa fa-stop fa-2x"></i></div>
<div id="next-button" title="Next"><i class="fa fa-fast-forward fa-2x"></i></div>
</div>
<div id="playlist">
<div id="track-details" title="Show playlist">
<i class="fa fa-sort"></i>
<p id="track-desc">There are no tracks loaded in the player.</p>
<p id="track-time">
<span id="current">-</span> / <span id="total">-</span>
</p>
</div>
<div id="expand-bar" class="hidden">
<form>
<label for="searchBox">Search</label><div><input id="searchBox" type="search" name="search"></div>
</form>
<ul id="list"></ul>
</div>
</div>
</div>
<div id="drop-zone" class="hidden">Drag & Drop Files Here</div>
</div>
<script src="assets/js/jquery-1.11.2.min.js"></script>
<script src="assets/js/id3-minimized.js"></script>
<script src="assets/js/wavesurfer.min.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>