-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlistener.html
69 lines (55 loc) · 3.7 KB
/
listener.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://i.pinimg.com/originals/75/a8/7e/75a87e9fcc8f899d53a82773c3f08e3d.jpg" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.1/css/all.css" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsmediatags/3.9.3/jsmediatags.js"></script>
<title>Music Party 🎉</title>
</head>
<body style="display: flex; flex-direction: column; height: 100vh; width: 100vw; margin: 0; color: #fff;">
<div style="display: flex; flex: 1; flex-direction: column; width: 100%;overflow: hidden;background-color: var(--primary-bg-color);">
<div class="listeners" style="color: #fff; background-color: var(--primary-bg-color);font-family: Gill Sans, Seravek, Trebuchet MS, sans-serif;padding: 5px 20px;">
<div id="party-title" style="font-family: inherit; font-size: 2em; margin-bottom: 10px; padding-left: 1px;">
Music Party
</div>
<div>
<form id="room-input-form" style="display: flex; flex-direction: column;">
<input id="room-input" type="tel" placeholder="Enter Room Number">
<button class="button-style" id="room-join" type="submit">
Join The Party 🎉
</button>
</form>
</div>
<hr style="width: 100%; border-top: 1px solid #2f2f2f; margin: 10px 0;">
</div>
</div>
<div class="player">
<div style="margin: auto;width: 100%;flex-direction: column;display: flex;align-items: center; justify-content: center;">
<div id="animated-circle" style="position: absolute; margin: auto; width: 200px; height: 200px; background-color: var(--primary-color); border-radius: 50%;">
</div>
<div style="z-index: 1; height: 100px; width: 100px; margin: 0 10px">
<img id="song-img" style="border-radius: 50%; height: 100%; width: 100%;" src="https://upload.wikimedia.org/wikipedia/en/e/e6/AllAmerikkkanBadass.jpg">
</div>
<div style="z-index: 1; width: 80%; display: flex; flex-direction: column; align-items: flex-start;">
<div style="margin: auto;overflow: hidden; width: 90%;">
<p id="song-title" style="text-align: center; font-size: 1.2em;color: #fff; overflow: hidden;text-overflow: ellipsis;">
</p>
</div>
<div style="overflow: hidden;margin: auto; width: 90%;">
<p id="song-artist" style="text-align: center; font-size: .8em; color: #dedede; overflow: hidden;text-overflow: ellipsis;">
</p>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/socket.io-client@2/dist/socket.io.js"></script>
<script src="js/Sending.js"></script>
<script src="js/Player.js"></script>
<script src="js/connection.js"></script>
<script src="js/index.js"></script>
<div id="pocket-extension-root"><div class="pocket-egasyq"></div></div><div id="pocket-extension-styles"><style data-emotion="pocket"></style></div></body>
</html>