forked from n-ce/ytify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
404 lines (358 loc) · 13.8 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
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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description"
content="32kb/s to 128kb/s youtube audio streaming website. Copy a youtube video link or search a video up and listen to it as an audio totally free. Background Playback, Queues, Themes for a great user experience.">
<meta name="author" content="Animesh Nath">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="white">
<meta name="mobile-web-app-capable" content="yes">
<meta name="keywords"
content="ytify,yify, Ytify, Youtube, youtube, Music,music, audio,opus, 32kbps,64kbps,Free ,spotify ,streaming, music-player , youtube-player , free-music, ytmusic">
<!-- social media preview, more info https://ogp.me -->
<meta property="og:title" content="vibesound">
<meta property="og:type" content="website">
<meta property="og:url" content="https://vibesounds.netlify.app/">
<meta property="og:description" content="32-128kbps Opus YouTube Audio Streaming Web App.">
<meta property="og:image" content="/ytify_thumbnail_min.webp">
<!-- tells google that this url is most important (e.g. not http (without s = secure))-->
<link rel="canonical" href="https://vibesounds.netlify.app/">
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<link rel="icon" type="image/png" href="/logo192.png" sizes="192x192" />
<link rel="icon" type="image/png" href="/logo512.png" sizes="512x512" />
<link rel="apple-touch-icon" href="/logo192.png">
<title>vibesound</title>
</head>
<body>
<canvas class="hide"></canvas>
<audio></audio>
<nav>
<a href="/" id="/">
<i class="ri-home-line"></i>
<p>Home</p>
</a>
<a href="/upcoming" id="upcoming">
<i class="ri-skip-forward-line"></i>
<p>Upcoming</p>
</a>
<a href="/search" id="/search">
<i class="ri-search-2-line"></i>
<p>Search</p>
</a>
<a href="/library" id="/library">
<i class="ri-stack-line"></i>
<p>Library</p>
</a>
<a href="/settings" id="/settings">
<i class="ri-settings-line"></i>
<p>Settings</p>
</a>
<a href="/list" id="/list" class="hide">
<p>list</p>
</a>
</nav>
<main>
<section id="home">
<img id="img" src="/ytify_thumbnail_min.webp" height="100%" width="100%" crossorigin="anonymous"
alt="Current Playing Media Thumbnail">
<div id="metadata">
<a id="title" href="" target="_blank">vibesound 6.8</a>
<a id="author" href="" target="_blank">Channel</a>
<select id="bitrateSelector">
<option>Bitrate</option>
</select>
<input type="checkbox" id="favButton" />
<label for="favButton" class="ri-heart-line" aria-label="like"></label>
</div>
</section>
<section id="upcoming">
<span id="queuetools">
<button>
<i class="ri-close-line"></i> Clear
</button>
<button>
<i class="ri-shuffle-line"></i> Shuffle
</button>
<button>
<i class="ri-subtract-line"></i> Remove
</button>
</span>
<div id="queuelist">
<h1 align="center">upcoming streams show here</h1>
</div>
</section>
<section id="search">
<span id="superInputContainer">
<input type="search" id="superInput" autocomplete="off" placeholder='Search or enter YT URL' />
<select id="searchFilters">
<optgroup label="YouTube Music">
<option value="music_songs">Songs</option>
<option value="music_videos">Videos</option>
<option value="music_albums">Albums</option>
<option value="music_playlists">Playlists</option>
</optgroup>
<optgroup label="YouTube">
<option value="all">All</option>
<option value="all">By Time</option>
<option value="videos">Videos</option>
<option value="channels">Channels</option>
<option value="playlists">Playlists</option>
</optgroup>
</select>
<button aria-label="search" class="ri-search-2-line"></button>
</span>
<ul id="suggestions"></ul>
<div id="searchlist">
<h1 class="featuredPlaylists">
<svg xmlns="http://www.w3.org/2000/svg" width="3rem" height="3rem" viewBox="0 0 176 176"
style="transform:scale(0.7)">
<circle cx="88" cy="88" r="77" fill="var(--text)" />
<path fill="var(--bg)"
d="M88 46a42 42 0 1 1 0 84 42 42 0 0 1 0-84m0-4a46 46 0 1 0 0 92 46 46 0 0 0 0-92z" />
<path fill="var(--bg)" d="m72 111 39-24-39-22z" />
</svg>
<label>Featured Playlists</label>
</h1>
</div>
</section>
<section id="library">
<details id="discover">
<summary>
<i class="ri-compass-3-line"></i> Discover
</summary>
<button>
<i class="ri-close-line"></i> Clear All
</button>
<button>
<i class="ri-subtract-line"></i> Remove
</button>
<div>
<h2>Listen more to discover more.</h2>
</div>
</details>
<details id="history">
<summary>
<i class="ri-history-line"></i> History
</summary>
<button>
<i class="ri-close-line"></i> Clear All
</button>
<button>
<i class="ri-subtract-line"></i> Remove
</button>
<div></div>
</details>
<details id="favorites">
<summary>
<i class="ri-heart-fill"></i> Favorites
</summary>
<button>
<i class="ri-close-line"></i> Clear All
</button>
<button>
<i class="ri-subtract-line"></i> Remove
</button>
<button>
<i class="ri-list-check-2"></i> Enqueue
</button>
<div></div>
</details>
<details id="listenLater">
<summary>
<i class="ri-calendar-schedule-line"></i> Listen Later
</summary>
<button>
<i class="ri-close-line"></i> Clear All
</button>
<button>
<i class="ri-subtract-line"></i> Remove
</button>
<div></div>
</details>
<br>
<div>
<label id="importBtn" for="upload">
<i class="ri-login-circle-line"></i> Import</label>
<input type="file" id="upload" class="hide">
<label id="exportBtn">
<i class="ri-logout-circle-line"></i> Export</label>
<label id="cleanLibraryBtn">
<i class="ri-delete-bin-7-line"></i> Clean</label>
</div>
<br>
</section>
<section id="settings">
<span>
<label for="pipedInstances">Piped Instance</label>
<select id="pipedInstances">
<option value="">Custom</option>
<option value="https://pipedapi.kavin.rocks" selected>kavin.rocks 🌐</option>
</select>
</span>
<span>
<label for="startupTab">
Default Tab on Startup
</label>
<select id="startupTab">
<option value="">Home</option>
<option value="/search">Search</option>
<option value="/library">Library</option>
</select>
</span>
<span>
<label for="linkHost">Links host</label>
<select id="linkHost">
<option value="https://youtube.com">YouTube</option>
<option value="https://vibesounds.netlify.app/">vibesound</option>
<option value="https://piped.video">Piped</option>
<option value="https://yewtu.be">Invidious</option>
</select>
</span>
<toggle-switch id="apiAutoFetchSwitch" checked>Automatically Fetch Instances</toggle-switch>
<toggle-switch id="fullscreenSwitch">Toggle Fullscreen</toggle-switch>
<h3>Search</h3>
<toggle-switch id="defaultFilterSongs">Filter Songs by Default</toggle-switch>
<toggle-switch id="suggestionsSwitch" checked>Display Suggestions</toggle-switch>
<h3>Playback</h3>
<span>
<label for="invidiousInstances">Invidious Instance</label>
<select id="invidiousInstances">
<option value="">Custom</option>
<option value="https://invidious.fdn.fr" selected>fdn.fr 🇫🇷</option>
</select>
</span>
<toggle-switch id="autoQueueSwitch" checked>Auto-Queue</toggle-switch>
<toggle-switch id="qualitySwitch">Highest Quality Audio</toggle-switch>
<span>
<label for="CodecPreference">Codec Preference</label>
<select id="CodecPreference">
<option value="opus">Opus</option>
<option value="aac">AAC</option>
<option value="">Any</option>
</select>
</span>
<h3>Thumbnail</h3>
<span>
<label for="thumbnailProxies">Proxy</label>
<select id="thumbnailProxies">
<option value="">Custom</option>
<option value="https://pipedproxy.leptons.xyz" selected>leptons.xyz 🇦🇹</option>
</select>
</span>
<toggle-switch id="thumbnailSwitch" checked>Load</toggle-switch>
<toggle-switch id="lazyThumbSwitch">Lazy Loading</toggle-switch>
<h3>Library</h3>
<toggle-switch id='discoverSwitch' checked>Store Discoveries</toggle-switch>
<toggle-switch id='historySwitch' checked>Store History</toggle-switch>
<h3>Interface</h3>
<span>
<label for="roundnessChanger">Roundness</label>
<select id="roundnessChanger">
<option value="none">None</option>
<option value="1vmin">Light</option>
<option value="2vmin" selected>Medium</option>
<option value="4vmin">Heavy</option>
</select>
</span>
<span>
<label for="themeSelector">Theming Scheme</label><select id="themeSelector">
<option value="auto">System</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</span>
<toggle-switch id="highContrastSwitch">High Contrast Theme</toggle-switch>
<h3>Actions</h3>
<button id="apiRefreshBtn">Regenerate Instances</button>
<button id="clearCacheBtn">Clear Caches</button>
<button id="restoreSettingsBtn">Restore Settings</button>
<a href="https://github.com/owencz1998/Vibesound/wiki/troubleshooting" target="_blank">Help</a>
<a href="https://github.com/owencz1998/Vibesound/wiki/changelog" target="_blank">Changelog</a>
<a href="https://github.com/owencz1998/Vibesound" target="_blank">Github</a>
<a href="https://t.me/ytifytg" target="_blank">Telegram</a>
<a href="https://matrix.to/#/#ytify:matrix.org" target="_blank">Matrix</a>
<form netlify name='feedback' method='POST'>
<input type="text" name="->" id="netlifyForm"
placeholder="Anonymously Enter your feedback (bugs, feature requests) here:" />
</form>
</section>
<section id="list">
<span id="listTools">
<button id="playAllBtn">
<i class="ri-play-line"></i> Play
</button>
<button id="enqueueAllBtn">
<i class="ri-list-check-2"></i> Enqueue
</button>
<button id="saveListBtn">
<i class="ri-stack-line"></i> Save
</button>
<button id="openInYT">
<i class="ri-youtube-line"></i> Open In YouTube
</button>
</span>
<br>
<div id="playlist">
<h1>playlist or channel items show here</h1>
</div>
</section>
<footer>
<span>
<p id="currentDuration">00:00</p>
<input type="range" value="0" id="progress" />
<p id="fullDuration">00:00</p>
</span>
<div id="playerControls">
<button class="ri-skip-back-line" id="playPrevButton" aria-label="play previous"></button>
<button class="ri-replay-15-line" id="seekBwdButton" aria-label="seek backward"></button>
<button class="ri-stop-circle-fill" id="playButton" aria-label="play" data-playbackState="none"></button>
<button class="ri-forward-15-line" id="seekFwdButton" aria-label="seek forward"></button>
<button class="ri-skip-forward-line" id="playNextButton" aria-label="play next"></button>
<button class="ri-repeat-line" id="loopButton" aria-label="loop">
</button>
<span id="volumeContainer">
<label for="volumeChanger" class="ri-volume-up-line"></label>
<input type="range" min="0" max="100" value="100" id="volumeChanger">
</span>
<select id="playSpeed">
<option value="0.25">0.25x</option>
<option value="0.50">0.50x</option>
<option value="0.75">0.75x</option>
<option value="1.00" selected>1.00x</option>
<option value="1.25">1.25x</option>
<option value="1.50">1.50x</option>
<option value="1.75">1.75x</option>
<option value="2.00">2.00x</option>
<option value="2.50">2.50x</option>
<option value="3.00">3.00x</option>
<option value="3.50">3.50x</option>
<option value="4.00">4.00x</option>
</select>
</div>
</footer>
</main>
<dialog id="superModal">
<ul>
<li><i class="ri-play-line"></i>Play Now</li>
<li><i class="ri-list-check-2"></i>Enqueue</li>
<li>
<i class="ri-play-list-add-line"></i>
<select id="playlistSelector">
<option>Add To</option>
<option value="+pl">Create New Playlist</option>
<option value="favorites">Favorites</option>
<option value="listenLater">Listen Later</option>
</select>
</li>
<li><i class="ri-rfid-line"></i>Start Radio</li>
<li><i class="ri-download-2-line"></i>Download</li>
<li><i class="ri-youtube-line"></i>View Channel</li>
</ul>
</dialog>
<dialog id="loadingScreen">
<i class="ri-loader-3-line"></i>
</dialog>
<script src="/src/scripts/main.ts" type="module"></script>
</body>
</html>