-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (55 loc) · 2.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Xenon Punk Audio Player</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap" rel="stylesheet">
<link type="text/css" href="style.css" rel="stylesheet">
<script src= "https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.0/sweetalert.min.js"></script>
</head>
<body>
<div class="container">
<div class="playlist">
<h2>Playlist</h2>
<input type="text" id="search-bar" placeholder="Search for a song...">
<ul id="playlist">
<li data-src="audio/Memory Reboot.mp3">🎧 Memory Reboot</li>
<li data-src="audio/Dystopian_Hybrid_by_miguel.mp3">🎧 Dystopian Hybrid</li>
<li data-src="audio/Gangsta's Paradise.mp3">🎧 Gangsta's Paradise</li>
<li data-src="audio/Neon Skies.mp3">🎧 Neon Skies</li>
<li data-src="audio/Gangsta´s Paradise (Escape Velocity) (Official _Valerian_ Trailer).mp3">🎧 Gangsta's Paradise(2WEI)</li>
</ul>
</div>
<div class="player">
<h1 id="title">Xenon Punk Audio Player</h1>
<audio id="audio" controls>
<source src="audio/Memory Reboot.mp3" type="audio/mp3">
Your browser does not support the audio element.
</audio>
<div id="animation" class="audio-animation">
<img id="animation-img" src="animation.gif" alt="Audio Animation">
</div>
<div class="controls">
<button type="button" id="play">Play</button>
<button type="button" id="pause">Pause</button>
<button type="button" id="stop">Stop</button>
<button type="button" id="prev">Prev</button>
<button type="button" id="next">Next</button>
<button type="button" id="loop">Loop</button>
<button type="button" id="shuffle">Shuffle</button>
<button type="button" id="single-loop">Single Loop</button>
</div>
</div>
<div class="upload">
<input type="file" id="upload-input" accept="audio/*" multiple>
<button id="upload-button">Upload</button>
</div>
</div>
<div id="now-playing" class="now-playing"></div>
<script type="text/javascript" src="index.js"></script>
<script src="search.js"></script>
</body>
</html>