-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (71 loc) · 2.03 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
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Better Audio Player</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!---
Modified From: http://codepen.io/kirkbyo/pen/YPOBEJ
Light Version: http://codepen.io/cmd430/pen/ZYqPea
--->
<div class="player">
<span id="arm"></span>
<ul>
<li class="artwork">
</li>
<li class="info">
<h1 id="artist">loading</h1>
<h4 id="album">loading</h4>
<h2 id="song">loading</h2>
<div class="button-items">
<audio id="music" preload="auto">
</audio>
<div id="slider">
<div id="elapsed"></div>
<div id="buffered"></div>
</div>
<p id="timer">0:00</p>
<div class="controls">
<span class="expend">
<svg id="previous" class="step-backward" viewBox="0 0 25 25" xml:space="preserve">
<g>
<polygon points="4.9,4.3 9,4.3 9,11.6 21.4,4.3 21.4,20.7 9,13.4 9,20.7 4.9,20.7"/>
</g>
</svg>
</span>
<svg id="play" viewBox="0 0 25 25" xml:space="preserve">
<defs>
<rect x="-49.5" y="-132.9" width="446.4" height="366.4"/>
</defs>
<g>
<circle fill="none" cx="12.5" cy="12.5" r="10.8"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.7,6.9V18c0,0,0.2,1.4,1.8,0l8.1-4.8c0,0,1.2-1.1-1-2L9.8,6.5 C9.8,6.5,9.1,6,8.7,6.9z"/>
</g>
</svg>
<svg id="pause" viewBox="0 0 25 25" xml:space="preserve">
<g>
<rect x="6" y="4.6" width="3.8" height="15.7"/>
<rect x="14" y="4.6" width="3.9" height="15.7"/>
</g>
</svg>
<span class="expend">
<svg id="next" class="step-foreward" viewBox="0 0 25 25" xml:space="preserve">
<g>
<polygon points="20.7,4.3 16.6,4.3 16.6,11.6 4.3,4.3 4.3,20.7 16.7,13.4 16.6,20.7 20.7,20.7"/>
</g>
</svg>
</span>
<div class="slider">
<div class="volume"></div>
<input type="range" id="volume" min="0" max="1" step="0.01" value="1" />
</div>
</div>
</div>
</li>
</ul>
</div>
<script src="index.js"></script>
</body>
</html>