- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
Latest commit
44 lines (44 loc) · 1.93 KB
/
Copy pathindex.html
File metadata and controls
44 lines (44 loc) · 1.93 KB
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
<!DOCTYPE html>
<htmllang="en">
<head>
<metacharset="UTF-8">
<metaname="viewport" content="width=device-width, initial-scale=1.0">
<title>Music Player</title>
<linkrel="icon" type="image/gif" href="jt.gif">
<linkrel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css"/>
<linkrel="stylesheet" href="style.css">
</head>
<body>
<divclass="logo"><imgsrc="jt.gif" alt="JT Webarchitect Logo"></div>
<divclass="player-container">
<!-- Song -->
<divclass="img-container">
<imgsrc="img/tsarong-1.jpg" id="image" alt="Album Art">
<h2id="title">Eastern Tibetan Blue</h2>
<h3id="artist">Sonam Dolma </h3>
<audiosrc="music/tsarong-1.mp3" ></audio>
<!-- Progress -->
<divclass="progress-container" id="progress-container">
<divclass="progress" id="progress"></div>
<divclass="duration-wrapper">
<spanid="current-time">0:00</span>
<spanid="duration">4:37</span>
</div>
</div>
<!-- controls -->
<divclass="player-controls">
<iclass="fas fa-backward" id="prev" title="Preview"></i>
<iclass="fas fa-play main-button" id="play" title="Play"></i>
<iclass="fas fa-forward" id="next" title="Next"></i>
</div>
<divclass="volume-container">
<iclass="fas fa-volume-down" id="volumeIcon" class="volumeIcon" title="volumeIcon"></i>
<inputclass="volume-control" type="range" min="0" max="1" step="0.05" oninput="setVolume(this.value)" onchange="setVolume(this.value)" hidden></input>
</div>
</div>
</div>
<!-- Script -->
<scriptsrc="songs.js"></script>
<scriptsrc="script.js"></script>
</body>
</html>