-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (65 loc) · 3.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title>My Music Player | Listen your favorite songs...</title>
</head>
<body>
<div class="container">
<div class="card shadow-lg rounded">
<img id="music-img" class="card-img-top">
<audio id="audio" src=""></audio>
<div id="music-details" class="text-center border-bottom my-3">
<p class="title"></p>
<p class="singer"></p>
</div>
<div class="card-body">
<div id="progress">
<input type="range" id="progress-bar" class="form-range">
<div class="time">
<span id="current-time">0:00</span>
<span id="duration-time">0:00</span>
</div>
</div>
<div id="controls" class="text-center">
<button id="previous" class="btn btn-primary rounded-circle">
<i class="fa-solid fa-backward-step"></i>
</button>
<button id="play" class="btn btn-primary rounded-circle btn-lg mx-2">
<i class="fa-solid fa-play"></i>
</button>
<button id="next" class="btn btn-primary rounded-circle">
<i class="fa-solid fa-forward-step"></i>
</button>
</div>
</div>
<div class="card-footer">
<button class="btn btn-primary btn-sm" data-bs-toggle="collapse" data-bs-target="#music-list">
<i class="fa-solid fa-bars"></i>
</button>
<div class="volume-container">
<i id="volume" class="fa-solid fa-volume-high"></i>
<input type="range" id="volume-bar" max="100" value="100" class="form-range">
</div>
</div>
<div id="music-list" class="collapse">
<ul class="list-group list-group-flush">
<!-- <li class="list-group-item d-flex justify-content-between align-items-center">
<span>şarkı</span>
<span class="badge bg-primary rounded-pill">0:00</span>
</li> -->
</ul>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<script src="music.js"></script>
<script src="music-player.js"></script>
<script src="app.js"></script>
</body>
</html>