-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
238 lines (221 loc) · 10.9 KB
/
index.html
File metadata and controls
238 lines (221 loc) · 10.9 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
<!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>Yazaar | YouTube Player</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<section id="NotesWindow">
<section>
<i class="fas fa-times" id="CloseNotesWindow"></i>
<p>Add some useful notes, playlist links as an example. Anything up to your imagination really.</p>
<textarea name="UserNotes" id="UserNotes"></textarea>
</section>
</section>
<section id="SwapKeyWindow">
<section>
<i class="fas fa-times" id="CloseSwapKeyWindow"></i>
<p>Using a private key gives you a better user experience in the way that you are not affected by other
users on the website!</p>
<input type="password" name="SwapAPIKeyInput" id="SwapAPIKeyInput" placeholder="•••••••••••••">
<section>
<span id="SaveKey" class="PresetButton">Save</span>
<span id="ResetKey" class="PresetButton">Reset</span>
</section>
<a href="pages/guide.html#GoogleAPI" target="_blank" rel="noopener noreferrer">What is this?</a>
</section>
</section>
<section id="EditVolumeWindow">
<section>
<i class="fas fa-times" id="CloseEditVolumeWindow"></i>
<p>Set the volume to a whole number between 1 and 100:</p>
<input type="number" name="EditYTVolume" id="EditYTVolume">
<span id="SetYTVolume" class="PresetButton">Set</span>
</section>
</section>
<a href="pages/guide.html" id="documentation" target="_blank" rel="noopener noreferrer">Guide</a>
<section id="overlay">
<div id="thumbnail"><img src="img/no_thumbnail.jpg" alt="YouTube video thumbnail"></div>
<div id="right">
<article id="title"></article>
<article id="channel"></article>
</div>
<div id="time"></div>
</section>
<section id="OverlaySettings">
<section>
<span id="ToggleOverlay">Toggle overlay</span>
<span id="HideShowOverlaySettings">Hide settings</span>
</section>
<section id="OverlaySettingsData">
<section>
<span class="PresetButton" id="preset1">Preset 1</span>
<span class="PresetButton" id="preset2">Preset 2</span>
<span class="PresetButton" id="preset3">Preset 3</span>
</section>
<section>
Overlay Width: <input type="number" step=0.1 name="OverlayWidth" id="OverlayWidth" value="250">
</section>
<section>
Overlay Height: <input type="number" step=0.1 name="OverlayHeight" id="OverlayHeight" value="50">
</section>
<section>
Font Size Title: <input type="number" step=0.1 name="TitleFontSize" id="TitleFontSize" value="14">
</section>
<section>
Font Size Channel: <input type="number" step=0.1 name="ChannelFontSize" id="ChannelFontSize" value="14">
</section>
<section>
Ticker Speed: <input type="number" step=0.1 name="TickerSpeed" id="TickerSpeed" value="10">
</section>
<section>
Overlay Background Color: R<input type="number" step=1 min="0" max="255" name="BGCR" id="BGCR"
value="63"> G<input type="number" step=1 min="0" max="255" name="BGCG" id="BGCG" value="63"> B<input
type="number" step=1 min="0" max="255" name="BGCB" id="BGCB" value="63">
</section>
<section>
Overlay Text Color: R<input type="number" step=1 min="0" max="255" name="FTCR" id="FTCR" value="182">
G<input type="number" step=1 min="0" max="255" name="FTCG" id="FTCG" value="182"> B<input type="number"
step=1 min="0" max="255" name="FTCB" id="FTCB" value="182">
</section>
</section>
</section>
<section id="MusicLinkSettings">
<section>
<span id="ToggleMusicLink">Toggle MusicLink</span>
<span id="HideShowMusicLinkSettings">Hide settings</span>
</section>
<section id="MusicLinkSettingsData">
<section>
<p>Room id</p>
<input type="text" id="MusicLinkRoomId" placeholder="Room id">
</section>
<section>
<p id="MusicLinkClickToCloseTip">Click again to close connection</p>
<span class="PresetButton" id="MusicLinkButton">Connect</span>
<div id="MusicLinkLink" style="display: none; padding-bottom: .5rem;">
<p>MusicLink URL:</p>
<a href="" target="_blank" rel="noopener noreferrer" class="linkOverride"></a>
</div>
</section>
</section>
</section>
<section id="SocketSettings">
<section>
<span id="ToggleSocket">Toggle Socket</span>
<span id="HideShowSocketSettings">Hide settings</span>
</section>
<section id="SocketSettingsData">
<p>Check the <a href="pages/guide.html#Socket" target="_blank" rel="noopener noreferrer" class="linkOverride">Guide</a> for a usage guide!</p>
<section>
<p>Host</p>
<input type="text" name="host" id="SocketHost" placeholder="Host" value="localhost">
</section>
<section>
<p>Port</p>
<input type="number" name="port" id="SocketPort" placeholder="Port" value="80">
</section>
<section>
<p id="SocketClickToCloseTip">Click again to close connection</p>
<span class="PresetButton" id="SocketButton">Connect</span>
</section>
</section>
</section>
<section id="SongrequestSettings">
<section>
<span id="ToggleSongrequest">Toggle songrequest</span>
<span id="HideShowSongrequestSettings">Hide settings</span>
</section>
<section id="SongrequestSettingsData">
<p class="SRTip PushRight">For Twitch only<br>Please consider to mod the connected account</p>
<section id="SRTMISection">
<p class="SRTip">Keep your TMI secret, generate new if exposed!</p>
TMI <input type="password" name="SRTMI" id="SRTMI" placeholder="•••••••••••••"> <a
href="https://twitchapps.com/tmi/" target="_blank" rel="noopener noreferrer">Get TMI</a>
</section>
<section id="SRUsernameSection">
<p class="SRTip">Your twitch username (match TMI)</p>
Username <input type="text" name="SRUsername" id="SRUsername">
</section>
<section id="SRChannelSection">
<p class="SRTip">Channel to listen on</p>
Channel <input type="text" name="SRChannel" id="SRChannel">
</section>
<section>
<span class="PresetButton" id="SRConnect">CONNECT</span>
<span class="PresetButton" id="SRReset">RESET</span>
</section>
<section>
Split songrequest and normal queue <input type="checkbox" name="SRSplitQueue" id="SRSplitQueue">
</section>
<section>
<p class="SRTip">Check all of the possible commands in the guide (click top right)</p>
Command <input type="text" name="SRCommand" id="SRCommand" value="!yt">
</section>
<section>
Request limit (per user) <input type="number" name="SRRequestLimit" id="SRRequestLimit" value="2"> Mods
not included
</section>
</section>
</section>
<section id="PlayerData">
<div id="player"></div>
<section id="CurrentVideoData">
<section id="Currently-Playing-Title">
<h1>Currently playing:</h1>
<p>Title</p>
</section>
<section id="Currently-Playing-Channel">
<h1>Channel:</h1>
<p>Channel</p>
</section>
<section id="Currently-Playing-Data">
<span class="VideoItem"><i class="fas fa-eye"></i><span id="Currently-Playing-Views">0</span></span>
<span class="VideoItem"><i class="fas fa-thumbs-up"></i><span
id="Currently-Playing-Likes">0</span></span>
<span class="VideoItem"><i class="fas fa-thumbs-down"></i><span
id="Currently-Playing-Dislikes">0</span></span>
</section>
</section>
</section>
<section id="PlayerSettings">
<span id="skip" class="PresetButton">Skip</span>
<span id="lock" class="PresetButton">Lock queue</span>
<span id="shuffle" class="PresetButton">Shuffle</span>
<span id="SwapKey" class="PresetButton">Swap key</span>
<span id="EditVolume" class="PresetButton">Edit volume</span>
<span id="youtube" class="PresetButton">Open in YT</span>
<span id="QueueClick" class="PresetButton">Remove</span>
<span id="DeleteCopies" class="PresetButton">Delete copies</span>
<span id="AddLoaded" class="PresetButton">Add all</span>
<span id="ViewNotes" class="PresetButton">View notes</span>
<p id="StatusMessage">Yazaar | YouTube Player</p>
</section>
<section id="SRQueue" class="queue">
<h1>SR Queue:</h1>
</section>
<section id="queue" class="queue">
<h1>Queue:</h1>
</section>
<section id="AddVideos">
<span id="InputWrapper">
<input type="text" value="" id="SearchInput">
</span>
<span id="Search">Search Video</span>
</section>
<section id="SearchResults"></section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.4.0/socket.io.min.js" integrity="sha512-gfppNkmmwLyyV/BXmzS9uWWbjxe0owp9N3wx9NeGmIHkFOiRM0EMmQte753JyYZd9uzIbjuSqPOvME0SvADXhw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
let iov2 = io
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.min.js" integrity="sha512-eVL5Lb9al9FzgR63gDs1MxcDS2wFu3loYAgjIH0+Hg38tCS8Ag62dwKyH+wzDb+QauDpEZjXbMn11blw8cbTJQ==" crossorigin="anonymous"></script>
<script src="js/index.js?version=3"></script>
</body>
</html>