-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
138 lines (107 loc) · 3.89 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html lang="en">
<link>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quran Player</title>
<!-- <link rel="icon" type="image/png" href="favicon.png" /> -->
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
<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 rel=icon href='img/book-quran-solid.svg'>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- change reciter -->
<div class="reciter-options">
<button id="change-reciter"><i class="fa-duotone fa-solid fa-mosque" style="font-size: 20px;"></i></i></button>
<ul class="reciters-list hidden" id="reciters-list">
<li>
<label for="option1">
<i class="fas fa-check-circle"></i>
<p>Abdul Basit 'Abd us-Samad</p>
</label>
<input type="radio" id="option1" name="options" value="option1" checked>
</li>
<li>
<label for="option2">
<i class="fas fa-check-circle"></i>
<p>mahmoud khalil al hussary</p>
</label>
<input type="radio" id="option2" name="options" value="option2">
</li>
<li>
<label for="option3">
<i class="fas fa-check-circle"></i>
<p> muhammad siddiq al-minshawi</p>
</label>
<input type="radio" id="option3" name="options" value="option3">
</li>
<li>
<label for="option4">
<i class="fas fa-check-circle"></i>
<p> mahmoud ali elbanna</p>
</label>
<input type="radio" id="option4" name="options" value="option4">
</li>
<li>
<label for="option5">
<i class="fas fa-check-circle"></i>
<p> Abdur-Rahman as-Sudais </p>
</label>
<input type="radio" id="option5" name="options" value="option5">
</li>
<li>
<label for="option6">
<i class="fas fa-check-circle"></i>
<p> mishary al afasy </p>
</label>
<input type="radio" id="option6" name="options" value="option6">
</li>
<li>
<label for="option7">
<i class="fas fa-check-circle"></i>
<p>Yasser Al-Dosari</p>
</label>
<input type="radio" id="option7" name="options" value="option7">
</li>
</ul>
</div>
<!-- menu icon -->
<button id="showListButton"><i class="fa-solid fa-star-and-crescent" style="font-size: 20px;"></i></i></button>
<div id="surasContainer" class="hidden">
<ul id="surasList">
<!-- List items will be dynamically added here -->
</ul>
</div>
<div class="player-container" id="player-container">
<!-- surahs -->
<div class="img-container">
<img src="img/download.jfif" alt="album art" />
</div>
<div class="text">
<h2 id="title">Al-Fatiha - الفاتحة</h2>
<h3 id="artist">Abdul Basit 'Abd us-Samad</h3>
<audio id="audioUrl" src=""></audio>
</div>
<!-- progress -->
<div class="progress-container" id="progress-container">
<div class="progress" id="progress"></div>
<div class="duration-wrapper">
<span id="current-time">0:00:00</span>
<span id="duration">0:01:18</span>
</div>
</div>
<!-- controls -->
<div class="player-controls">
<i class="fas fa-backward" style="color: #3d2224;" id="prev" title="previous"></i>
<i class="fas fa-play main-button " style="color:#452426;" id="play" title="play"></i>
<i class="fas fa-forward" style="color: #452426;" id="next" title="next"></i>
<i id="download-btn" class="fa-solid fa-download"></i>
</div>
</div>
<!-- Script -->
<script type="module" src="script.js"></script>
</body>
</html>