-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplay_2.html
More file actions
329 lines (320 loc) · 8.96 KB
/
play_2.html
File metadata and controls
329 lines (320 loc) · 8.96 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
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<!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">
<title>INDION PLAY</title>
<link rel="icon" href="LOGO.png" type="icon/image">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<img src="LOGO.png" alt="brand_logo">
<h1>Listen , Feel , Relax !</h1>
</div>
<br>
<br>
<div class="greet">
<h1>
Hello There ! </h1>
<br>
<h2>
Western Rythms
</h2>
</div>
<br>
<br>
<div class="s1">
<h3>Alone</h3>
<audio controls id="song_1">
<source src="song_7.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon">
</div><br>
<div class="s2">
<h3>The Spectre</h3>
<audio controls id="song_2">
<source src="song_8.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_2">
</div><br>
<div class="s3">
<h3>BadBoy</h3>
<audio controls id="song_3">
<source src="song_9.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_3">
</div><br>
<div class="s4">
<h3>Believer</h3>
<audio controls id="song_4">
<source src="song_10.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_4">
</div><br>
<div class="s5">
<h3>Darkside</h3>
<audio controls id="song_5">
<source src="song_11.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_5">
</div><br>
<div class="s6">
<h3>Ignite</h3>
<audio controls id="song_6">
<source src="song_12.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_6">
</div><br>
<div class="s7">
<h3>End Of Time</h3>
<audio controls id="song_7">
<source src="song_13.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_7">
</div><br>
<div class="s8">
<h3>On My Way</h3>
<audio controls id="song_8">
<source src="song_14.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_8">
</div><br>
<div class="s9">
<h3>Play</h3>
<audio controls id="song_9">
<source src="song_15.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_9">
</div><br>
<div class="s10">
<h3>Senorita</h3>
<audio controls id="song_10">
<source src="song_16.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_10">
</div><br>
<div class="s11">
<h3>Safari</h3>
<audio controls id="song_11">
<source src="Safari.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_11">
</div><br>
<div class="s12">
<h3>Unstoppable</h3>
<audio controls id="song_12">
<source src="Unstoppable.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_12">
</div><br>
<div class="s13">
<h3>Hey Mama</h3>
<audio controls id="song_13">
<source src="Hey-Mama.mp3" type="audio/mp3">
</audio>
<img src="Play.png" alt="play" id="icon_13">
</div><br>
<br>
<hr><br>
<div class="footer">
Ⓒ Indion Techs. Inc. , 2022
</div>
<hr>
</body>
<style>
@media (max-width:900px) {
.header {
height: 50vh;
width: 100vw;
flex-direction: column;
justify-content: center;
}
.header img {
padding-left: 70px;
padding-top: 60px;
width: 60vw;
height: 30vh;
}
.header h1 {
font-size: 25px;
width: 70vw;
}
.s1,
.s2,
.s3,
.s4,
.s5,
.s6,
.s7,
.s8,
.s9,
.s10 ,
.s11,
.s12,
.s13{
flex-direction: column;
padding-left: 20px;
}
}
</style>
<script>
var song_1 = document.getElementById("song_1");
var icon = document.getElementById('icon');
icon.onclick = function () {
if (song_1.paused) {
song_1.play();
icon.src = "Pause.png";
}
else {
song_1.pause();
icon.src = "Play.png";
}
}
var song_2 = document.getElementById("song_2");
var icon_2 = document.getElementById('icon_2');
icon_2.onclick = function () {
if (song_2.paused) {
song_2.play();
icon_2.src = "Pause.png";
}
else {
song_2.pause();
icon_2.src = "Play.png";
}
}
var song_3 = document.getElementById("song_3");
var icon_3 = document.getElementById('icon_3');
icon_3.onclick = function () {
if (song_3.paused) {
song_3.play();
icon_3.src = "Pause.png";
}
else {
song_3.pause();
icon_3.src = "Play.png";
}
}
var song_4 = document.getElementById("song_4");
var icon_4 = document.getElementById('icon_4');
icon_4.onclick = function () {
if (song_4.paused) {
song_4.play();
icon_4.src = "Pause.png";
}
else {
song_4.pause();
icon_4.src = "Play.png";
}
}
var song_5 = document.getElementById("song_5");
var icon_5 = document.getElementById('icon_5');
icon_5.onclick = function () {
if (song_5.paused) {
song_5.play();
icon_5.src = "Pause.png";
}
else {
song_5.pause();
icon_5.src = "Play.png";
}
}
var song_6 = document.getElementById("song_6");
var icon_6 = document.getElementById('icon_6');
icon_6.onclick = function () {
if (song_6.paused) {
song_6.play();
icon_6.src = "Pause.png";
}
else {
song_6.pause();
icon_6.src = "Play.png";
}
}
var song_7 = document.getElementById("song_7");
var icon_7 = document.getElementById('icon_7');
icon_7.onclick = function () {
if (song_7.paused) {
song_7.play();
icon_7.src = "Pause.png";
}
else {
song_7.pause();
icon_7.src = "Play.png";
}
}
var song_8 = document.getElementById("song_8");
var icon_8 = document.getElementById('icon_8');
icon_8.onclick = function () {
if (song_8.paused) {
song_8.play();
icon_8.src = "Pause.png";
}
else {
song_8.pause();
icon_8.src = "Play.png";
}
}
var song_9 = document.getElementById("song_9");
var icon_9 = document.getElementById('icon_9');
icon_9.onclick = function () {
if (song_9.paused) {
song_9.play();
icon_9.src = "Pause.png";
}
else {
song_9.pause();
icon_9.src = "Play.png";
}
}
var song_10 = document.getElementById("song_10");
var icon_10 = document.getElementById('icon_10');
icon_10.onclick = function () {
if (song_10.paused) {
song_10.play();
icon_10.src = "Pause.png";
}
else {
song_10.pause();
icon_10.src = "Play.png";
}
}
var song_11 = document.getElementById("song_11");
var icon_11 = document.getElementById('icon_11');
icon_11.onclick = function () {
if (song_11.paused) {
song_11.play();
icon_11.src = "Pause.png";
}
else {
song_11.pause();
icon_11.src = "Play.png";
}
}
var song_12 = document.getElementById("song_12");
var icon_12 = document.getElementById('icon_12');
icon_12.onclick = function () {
if (song_12.paused) {
song_12.play();
icon_12.src = "Pause.png";
}
else {
song_12.pause();
icon_12.src = "Play.png";
}
}
var song_13 = document.getElementById("song_13");
var icon_13 = document.getElementById('icon_13');
icon_13.onclick = function () {
if (song_13.paused) {
song_13.play();
icon_13.src = "Pause.png";
}
else {
song_13.pause();
icon_13.src = "Play.png";
}
}
</script>
</html>