-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (49 loc) · 2.26 KB
/
index.html
File metadata and controls
49 lines (49 loc) · 2.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>YT-RPC Listen Along</title>
<link rel="stylesheet" href="static/style/font.css">
<link rel="stylesheet" href="static/style/style.css">
<link rel="stylesheet" href="static/style/chat.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=radio" />
</head>
<body>
<header id="header">
<span id="headerTitle">𝄞 YT-RPC Listen Along</span>
</header>
<!-- <audio id="audioElement" autoplay></audio> -->
<div id="menuWrapper">
<!-- <div id="leftMenu"></div> -->
<div id="songMenu">
<button id="ConnectButton" onclick="watch()" style="z-index: 2;">
<span class="material-symbols-outlined" id="ConnectIcon">
radio
</span>
<br>
<span id="ConnectText">Click to Connect <br><span style="font-size: x-small;">If this fails: test the chat to see if the server is offline, otherwise the listener has rejected your request to listen </span></span>
</button>
<video style="z-index: 1; width:100%;" id="videoElement" autoplay></video>
<!-- <img id="albumCover">
<div id="songInfo">
<span id="songTitle">Song Title</span>
<br>
<span id="songArtist">Artist Name</span> -->
</div>
<div id="chatMenu">
<div id="chatLabel">Chat <input type="text" placeholder="Username" id="usernameField"></div>
<div id="chatBody">
</div>
<div id="chatControl">
<textarea placeholder="use '/request [yt music url]' to request a song or type a message, shift+enter for a new line: otherwise press enter" id="chatbox"></textarea>
<button id="sendbutton" style="position:absolute;bottom:0;" onclick="postMessage()">Send</button>
</div>
</div>
</div>
</div>
<script src="static/src/watch.js"></script>
<script src="static/src/chat.js"></script>
</body>
</html>