-
Notifications
You must be signed in to change notification settings - Fork 52
/
index.html
377 lines (317 loc) · 14 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description"
content="48kb/s to 160kb/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="n-ce">
<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">
<meta name="thumbnail" content="/ytify_thumbnail_min.webp">
<!-- social media preview, more info https://ogp.me -->
<meta property="og:type" content="website">
<meta property="og:title" content="ytify">
<meta property="og:url" content="https://ytify.us.kg">
<meta property="og:site_name" content="ytify">
<meta property="og:description" content="48-160kbps 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://ytify.us.kg">
<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">
<link rel="icon" type="image/svg+xml" href="/ytify_lite.svg">
<title>ytify</title>
</head>
<body>
<audio>
<track src="subtitles.ttml" kind="subtitles" label="Expanded TTML Sample" />
</audio>
<header>
<nav>
<a href="/" id="/" class="hide">
<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>
<div id="miniPlayer">
<img id="img" crossorigin="anonymous" alt="Current Playing Media Thumbnail">
<div id="mp">
<div id="mptext">
<a id="title" href="" target="_blank">Now Playing</a>
<p id="author">Channel</p>
</div>
<button class="ri-stop-circle-fill" id="playButton" aria-label="play" data-playbackState="none"></button>
</div>
</div>
</header>
<main>
<section id="home">
<div id="upperLayer">
<article id="subtitleContainer" class="hide">
</article>
<select id="subtitleSelector" class="hide">
<option>Subtitles</option>
</select>
<!-- image -->
<div id="meta">
<!-- title -->
<!-- author -->
<div id="upperButtonLayer">
<span id="volumeContainer">
<label for="volumeChanger" aria-label="volume" class="ri-volume-up-fill"></label>
<input type="range" min="0" max="100" value="100" id="volumeChanger">
</span>
<i class="ri-repeat-line" id="loopButton" aria-label="loop"></i>
<input type="checkbox" id="favButton" />
<label for="favButton" class="ri-heart-line" aria-label="like"></label>
<i class="ri-more-2-fill" id="moreBtn" aria-label="more"></i>
</div>
</div>
</div>
<span id="trackline">
<input type="range" value="0" id="progress" />
<div>
<p id="currentDuration">00:00</p>
<p id="fullDuration">00:00</p>
</div>
</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>
<!-- play 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>
</div>
<div id="selectors">
<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>
<select id="bitrateSelector">
<option>Bitrate</option>
</select>
<svg id="ytifyIcon" xmlns="http://www.w3.org/2000/svg" version="1.0" viewBox="0 0 4172 4172" width="1.5rem"
height="1.5rem" style="transform: scale(1.5);overflow:hidden;">
<path fill="var(--text)"
d="m1368 3037-55-10-23-6a369 369 0 0 1-57-19 552 552 0 0 1-266-246 437 437 0 0 1-31-74 590 590 0 0 1-18-245l5-25c7-35 21-77 35-105l9-19a522 522 0 0 1 679-236c1 5-1 77-3 91a1059 1059 0 0 1-24 119 274 274 0 0 1-19 53c-1 0-7-5-14-13-40-46-95-77-160-91a290 290 0 0 0-186 542 287 287 0 0 0 202 23c61-15 120-54 159-105a1108 1108 0 0 0 149-360 1296 1296 0 0 0 27-274 1164 1164 0 0 0-226-667 146 146 0 0 1-21-39l-4-9-4-11c-8-16-18-53-24-84-5-27-5-72 0-95 10-49 32-84 69-115 24-20 50-34 87-47a740 740 0 0 1 79-19c23-4 134-6 167-3a1364 1364 0 0 1 446 118l20 8 20 8 18 8a2232 2232 0 0 1 652 439 1008 1008 0 0 1 234 338c4 5 16 57 20 83 2 17 1 63-3 79-18 83-71 135-171 167-34 11-106 20-130 16-43-7-194-7-249 0-67 9-142 23-179 34l-34 10a974 974 0 0 0-94 33 1245 1245 0 0 0-170 84 1182 1182 0 0 0-405 414 529 529 0 0 1-347 244c-40 9-112 11-160 6zm1441-892 14-2c21-2 58-13 76-22 34-17 54-37 67-69 6-16 7-19 7-44 1-26 1-28-6-54-32-125-167-280-368-420-80-56-200-124-282-159l-26-12a1286 1286 0 0 0-124-47c-39-14-128-36-170-42l-18-3c-19-3-41-4-87-4-56 0-71 2-105 13-68 23-101 65-101 130a201 201 0 0 0 17 82c3 9 21 46 31 64 68 112 187 227 351 338a1827 1827 0 0 0 446 214 1084 1084 0 0 0 219 39c1 1 50-1 59-2z" />
</svg>
</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>
<button>
<i class="ri-filter-2-line"></i> Filter <10:00
</button>
<button>
<i class="ri-list-check-2"></i> Enqueue Related Streams
</button>
</span>
<br>
<div id="queuelist">
<h1>upcoming streams show here</h1>
</div>
</section>
<section id="search">
<form id="superInputContainer">
<input type="search" id="superInput" autocomplete="off"
placeholder='Search or enter YT URL CTRL+K' />
<select id="searchFilters">
<optgroup label="YouTube">
<option value="all">All</option>
<option value="videos">Videos</option>
<option value="channels">Channels</option>
<option value="playlists">Playlists</option>
</optgroup>
<optgroup label="YouTube Music">
<option value="music_songs">Songs</option>
<option value="music_artists">Artists</option>
<option value="music_videos">Videos</option>
<option value="music_albums">Albums</option>
<option value="music_playlists">Playlists</option>
</optgroup>
<optgroup label="Sort By">
<option value="date">Time</option>
<option value="views">Views</option>
</optgroup>
</select>
</form>
<ul id="suggestions"></ul>
<div id="searchlist">
<p style="
background:url('/ytify_banner.webp') center;
padding: 5vmin;
box-shadow: var(--shadow);
border-radius: var(--roundness);
background-size:cover;
color:white;
" align="center">
<b style="background-color:#0003;
display:block;
backdrop-filter: blur(2px);
">
Welcome to ytify, a fast, lightweight, personalisable, minimal and free audio streaming platform. Learn more
about how to use
the WebApp effectively, <a href="https://github.com/n-ce/ytify/wiki/usage"
style="text-decoration: underline;" target="_blank">here</a>.
</b>
</p>
<p style="
padding: 5vmin;
margin-top:5vmin;
box-shadow: var(--shadow);
border-radius: var(--roundness);
background-color:#234a;
color:#efec;
" align="center">
Attention! ytify.us.kg is now the ytify project's primary domain with exclusive instance management.
You can easily migrate your data by importing your settings and library export files, piped playlists need not
be imported again.
</p>
</div>
</section>
<section id="library">
<div id="collections">
<a class="collectionItem" id="discover" href="/list?collection=discover">
<i class="ri-compass-3-line"></i>Discover
</a>
<a class="collectionItem" id="history" href="/list?collection=history">
<i class="ri-memories-line"></i>History
</a>
<a class="collectionItem" id="favorites" href="/list?collection=favorites">
<i class="ri-heart-fill"></i>Favorites
</a>
<a class="collectionItem" id="listenLater" href="/list?collection=listenLater">
<i class="ri-calendar-schedule-line"></i>Listen Later
</a>
</div>
<div id="superCollectionSelector">
<input type="radio" id="r.featured" name="superCollectionChips" value="featured" checked>
<label for="r.featured">Featured</label>
<input type="radio" id="r.collections" name="superCollectionChips" value="collections">
<label for="r.collections">Collections</label>
<input type="radio" id="r.playlists" name="superCollectionChips" value="playlists">
<label for="r.playlists">Playlists</label>
<input type="radio" id="r.albums" name="superCollectionChips" value="albums">
<label for="r.albums">Albums</label>
<input type="radio" id="r.artists" name="superCollectionChips" value="artists">
<label for="r.artists">Artists</label>
<input type="radio" id="r.channels" name="superCollectionChips" value="channels">
<label for="r.channels">Channels</label>
<input type="radio" id="r.feed" name="superCollectionChips" value="feed">
<label for="r.feed">Subscription Feed</label>
</div>
<div id="superCollectionList"></div>
<div id="libraryActions">
<label id="importBtn" for="upload">
<i class="ri-import-line"></i> Import</label>
<input type="file" id="upload" class="hide">
<label id="exportBtn">
<i class="ri-export-line"></i> Export</label>
<label id="cleanLibraryBtn">
<i class="ri-delete-bin-2-line"></i> Clean</label>
</div>
</section>
<section id="settings">
<div id="actionsContainer">
<form netlify name="feedback" method="POST">
<textarea name="->" id="netlifyForm"
placeholder="Anonymously enter your feedback (bugs, feature requests) here:" required></textarea>
<button type="submit">Submit Feedback</button>
<button id="clearCacheBtn" type="button">Clear Caches</button>
<button id="restoreSettingsBtn" type="button">Restore Settings</button>
<button id="exportSettingsBtn" type="button">Export Settings</button>
<button type="button">
<label for="importSettingsBtn">Import Settings</label>
<input type="file" id="importSettingsBtn" class="hide">
</button>
<a href="https://github.com/n-ce/ytify/wiki/changelog" target="_blank">Changelog</a>
<a href="https://github.com/n-ce/ytify/" 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>
</div>
</section>
<section id="list">
<span id="listTools">
<button id="playAllBtn">
<i class="ri-play-large-line"></i> Play
</button>
<button id="enqueueAllBtn">
<i class="ri-list-check-2"></i> Enqueue
</button>
<button id="importListBtn">
<i class="ri-import-line"></i> Import
</button>
<button id="subscribeListBtn">
<i class="ri-stack-line" data-state=" Subscribe"></i>
</button>
<button id="viewOnYTBtn">
<i class="ri-external-link-line" data-state=" View on YouTube"></i>
</button>
<button id="clearListBtn">
<i class="ri-close-line"></i> Clear All
</button>
<button id="removeFromListBtn">
<i class="ri-subtract-line"></i> Remove
</button>
<button id="deleteCollectionBtn">
<i class="ri-delete-bin-2-line"></i> Delete
</button>
<button id="renameCollectionBtn">
<i class="ri-edit-line"></i> Rename
</button>
</span>
<br>
<div id="playlist">
<h1>playlist, channel or your collection items show here</h1>
</div>
</section>
</main>
<dialog id="actionsMenu"></dialog>
<dialog id="loadingScreen">
<i class="ri-loader-3-line"></i>
</dialog>
<script src="/src/main.ts" type="module"></script>
</body>
</html>