-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (43 loc) · 1.46 KB
/
Copy pathindex.html
File metadata and controls
48 lines (43 loc) · 1.46 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
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Music Player</title>
<link rel="stylesheet" href="css and js/style.css">
</head>
<body>
<div style="width: 50%; height:100vh ; margin:auto ; background: #3b3b3b; padding:30px">
<h1 style="text-align: center; margin-top:30px;">Music Player</h1>
<div class="player">
<div class="cover">🎵</div>
<!-- Progress -->
<div class="progress-container">
<span id="current">0:00</span><!--song current time el time elly 3ada mn el song-->
<input type="range" id="progress" value="0" step="1" placeholder="duration" title="duration">
<span id="duration">0:00</span><!--song duration-->
</div>
<!-- Song name -->
<div class="song-info">
<h3 id="title">Song Name</h3>
</div>
<div style="width: 100%; background-color:lightgrey; padding:20px">
<!-- Controls -->
<div class="controls">
<button id="prev">⏮️</button>
<button id="play" onclick="audioplaypause()">▶️</button>
<button id="next">⏭️</button>
</div>
<!-- Volume -->
<div class="volume-container">
🔈
<input type="range" id="volume" min="0" max="1" step="0.01" value="1" title="volume" placeholder="volume">
</div>
<!-- Audio -->
<audio id="audio"></audio>
</div>
</div>
</div>
<script src="css and js/script.js"> </script>
</body>
</html>