-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (39 loc) · 2.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Music Player</title>
<link rel="icon" type="image/x-icon" href="https://imgs.search.brave.com/qp_G-n9AQCiDv-H-j-F19fBByYmuzxaxhIRlHJcAKu4/rs:fit:860:0:0/g:ce/aHR0cHM6Ly93YWxs/cGFwZXJjYXZlLmNv/bS93cC93cDYwOTA3/MTcucG5n">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="music-player">
<audio id="audio">
<source src="" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<div class="album-art">
<img id="album-photo" src="https://imgs.search.brave.com/qp_G-n9AQCiDv-H-j-F19fBByYmuzxaxhIRlHJcAKu4/rs:fit:860:0:0/g:ce/aHR0cHM6Ly93YWxs/cGFwZXJjYXZlLmNv/bS93cC93cDYwOTA3/MTcucG5n" alt="Album Photo">
</div>
<div id="track-name">Press Play</div>
<div id="time-display"></div>
<div id="controls">
<input type="range" id="track-slider" step="0.1" min="0" value="0">
</div>
<div id="controls">
<button id="prev-button"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16">
<path fill="currentColor" d="M14 3.002a1 1 0 0 0-1.578-.816l-7 4.963a1 1 0 0 0-.007 1.628l7 5.037A1 1 0 0 0 14 13.003zM2 2.5a.5.5 0 0 1 1 0v11a.5.5 0 0 1-1 0z" />
</svg></button>
<button id="play-pause" class="hover-border"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="currentColor" d="M21.409 9.353a2.998 2.998 0 0 1 0 5.294L8.597 21.614C6.534 22.737 4 21.277 4 18.968V5.033c0-2.31 2.534-3.769 4.597-2.648z" />
</svg></button>
<button id="next-button"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16">
<path fill="currentColor" d="M2 3.002a1 1 0 0 1 1.578-.816l7 4.963a1 1 0 0 1 .007 1.628l-7 5.037A1 1 0 0 1 2 13.003zM14 2.5a.5.5 0 1 0-1 0v11a.5.5 0 0 0 1 0z" />
</svg></button>
</div>
</div>
<footer><a href="https://github.com/GripZViSx/Music-Player" target="_blank">Github</a></footer>
<script src="main.js"></script>
</body>
</html>