-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
304 lines (304 loc) · 15.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NewFlow</title>
<link rel="stylesheet" href="./css/material-symbols.css">
<link rel="stylesheet" href="./css/layout.css">
<link rel="stylesheet" href="./css/styles.css">
<script src="./js/imports.js"></script>
<script src="./js/backtrace.js"></script>
<script src="./js/components.js" defer></script>
<script src="./js/render.js"></script>
<script src="./js/image_helper.js"></script>
<script src="./js/context_menu.js"></script>
<script src="./js/json_database.js"></script>
<script src="./js/language_pack.js"></script>
<script @src="./js/database.js" full-defer></script>
<script @src="./js/downloader.js" full-defer></script>
<script @src="./js/thirdparty/vibrant.js" full-defer></script>
<script @src="./js/thirdparty/hls.light.min.js" full-defer></script>
<script @src="./js/plugins.js" full-defer></script>
<script @src="./js/keyboard_shortcuts.js" full-defer></script>
<script>
document.addEventListener('readystatechange', event => {
if (event.target.readyState === "complete") {
window.dispatchEvent(new CustomEvent("DocumentReady"));
document.querySelectorAll("script[full-defer]").forEach(tag => {
tag.setAttribute("src", tag.getAttribute("@src"));
});
};
});
</script>
</head>
<body theme="light" os="other">
<datalist class="search" id="suggestions"></datalist>
<div class="titlebar">
<button class="material-symbol menu">menu</button>
<div class="title">NewFlow</div>
<input class="search" list="suggestions"/>
<div class="button-layout">
<button class="minimize">
<img class="other" draggable="false" src="./assets/fluent-icons/line_horizontal_1_16_regular.svg"/>
<img class="linux" draggable="false" src="./assets/yaru-icons/window-minimize-symbolic.svg"/>
<img class="linux kde" draggable="false" src="./assets/breeze-icons/go-down.svg"/>
</button>
<button class="maximize" state="maximize">
<img class="other maximize" draggable="false" src="./assets/fluent-icons/maximize_16_regular.svg"/>
<img class="linux maximize" draggable="false" src="./assets/yaru-icons/window-maximize-symbolic.svg"/>
<img class="linux maximize kde" draggable="false" src="./assets/breeze-icons/go-up.svg" />
<img class="other restore" draggable="false" src="./assets/fluent-icons/square_multiple_16_regular.svg"/>
<img class="linux restore" draggable="false" src="./assets/yaru-icons/window-restore-symbolic.svg"/>
<img class="linux restore kde" draggable="false" src="./assets/breeze-icons/window-restore.svg" />
</button>
<button class="close">
<img class="other" draggable="false" src="./assets/fluent-icons/dismiss_16_regular.svg"/>
<img class="linux" draggable="false" src="./assets/yaru-icons/window-close-symbolic.svg"/>
<img class="linux kde" draggable="false" src="./assets/breeze-icons/window-close.svg" />
</button>
</div>
</div>
<div class="sidenav">
<img draggable="false" src="./assets/banner.png" class="open-only bottom-border" />
<div tab="trends" tabindex="0">
<material-symbol>local_fire_department</material-symbol>
<div class="description"><language-pack key="trends"></language-pack></div>
</div>
<div tab="feed" tabindex="0">
<material-symbol>rss_feed</material-symbol>
<div class="description"><language-pack key="feed"></language-pack></div>
</div>
<div tab="following" tabindex="0">
<material-symbol>tv</material-symbol>
<div class="description"><language-pack key="following"></language-pack></div>
</div>
<div class="bottom-border" tab="playlists" tabindex="0">
<material-symbol>bookmarks</material-symbol>
<div class="description"><language-pack key="playlists"></language-pack></div>
</div>
<div class="open-only" tab="history" tabindex="0">
<material-symbol>history</material-symbol>
<div class="description"><language-pack key="history"></language-pack></div>
</div>
<div class="open-only bottom-border" tab="downloads" tabindex="0">
<material-symbol>download</material-symbol>
<div class="description"><language-pack key="downloads"></language-pack></div>
</div>
<div class="open-only" tab="settings" tabindex="0">
<material-symbol>settings</material-symbol>
<div class="description"><language-pack key="settings"></language-pack></div>
</div>
<div class="open-only" tab="about" tabindex="0">
<material-symbol>info</material-symbol>
<div class="description"><language-pack key="about_n_faq"></language-pack></div>
</div>
<div class="devtools" style="display: none;" tabindex="0">
<material-symbol>browse_activity</material-symbol>
<div class="description"><language-pack key="devtools"></language-pack></div>
</div>
</div>
<button class="material-symbol global-action search">search</button>
<div class="tabs" active="trends">
<div id="trends" class="view"></div>
<div id="search" class="view"></div>
<div id="watch" class="view">
<div class="primary-flow">
<div class="video-player">
<img class="thumbnail" />
<video preload="auto" crossorigin="anonymous"></video>
<audio preload="auto" crossorigin="anonymous"></audio>
<div class="details list speed" hidden>
<div class="title"><language-pack key="playback_speed"></language-pack></div>
<div class="list-item" value="0.25">0.25</div>
<div class="list-item" value="0.50">0.50</div>
<div class="list-item" value="0.75">0.75</div>
<div class="list-item" value="1.00"><language-pack key="normal"></language-pack></div>
<div class="list-item" value="1.25">1.25</div>
<div class="list-item" value="1.50">1.50</div>
<div class="list-item" value="1.75">1.75</div>
<div class="list-item" value="2.00">2</div>
<div class="list-item" value="2.50">2.50</div>
<div class="list-item" value="3.00">3</div>
<div class="list-item" value="3.50">3.50</div>
<div class="list-item" value="4.00">4</div>
</div>
<div class="details list captions" hidden></div>
<div class="details list more" hidden>
<div class="list-item filter" value="filter"><material-symbol>filter_retrolux</material-symbol> <language-pack key="filters"></language-pack></div>
<div class="list-item video-quality" value="video_quality"><material-symbol>video_settings</material-symbol> <language-pack key="video_quality"></language-pack></div>
<div class="list-item audio-quality" value="audio_quality"><material-symbol>tune</material-symbol> <language-pack key="audio_quality"></language-pack></div>
<div class="list-item audio-pitch" value="audio_pitch"><material-symbol>edit_audio</material-symbol> <language-pack key="audio_pitch"></language-pack></div>
</div>
<div class="details filter" hidden>
<div>
<div class="title"><language-pack key="filters"></language-pack></div>
<div><div><language-pack key="brightness"></language-pack>:</div><input class="brightness" type="range" min="0" max="2" step="0.01" value="1" default-value="1" css-target="--filter-brightness"/></div>
<div><div><language-pack key="contrast"></language-pack>:</div><input class="contrast" type="range" min="0" max="2" step="0.01" value="1" default-value="1" css-target="--filter-contrast"/></div>
<div><div><language-pack key="blur"></language-pack>:</div><input class="blur" type="range" min="0" max="30" step="1" value="0" default-value="0" suffix="px" css-target="--filter-blur"/></div>
<div><div><language-pack key="grayscale"></language-pack>:</div><input class="grayscale" type="range" min="0" max="1" step="0.01" value="0" default-value="0" css-target="--filter-grayscale"/></div>
<div><div><language-pack key="invert"></language-pack>:</div><input class="invert" type="range" min="0" max="1" step="0.01" value="0" default-value="0" css-target="--filter-invert"/></div>
<div><div><language-pack key="hue_rotate"></language-pack>:</div><input class="hue-rotate" type="range" min="0" max="360" step="0" value="0" default-value="0" suffix="deg" css-target="--filter-hue-rotate"/></div>
<button class="reset">Reset</button>
</div>
</div>
<div class="details list timelines" hidden></div>
<div class="details list video-quality" hidden></div>
<div class="details list audio-quality" hidden></div>
<div class="details list audio-pitch" hidden>
<div class="title"><language-pack key="audio_pitch"></language-pack></div>
<div class="list-item" value="1.25">+5</div>
<div class="list-item" value="1.20">+4</div>
<div class="list-item" value="1.15">+3</div>
<div class="list-item" value="1.10">+2</div>
<div class="list-item" value="1.05">+1</div>
<div class="list-item" value="1.00"><language-pack key="normal"></language-pack></div>
<div class="list-item" value="0.95">-1</div>
<div class="list-item" value="0.90">-2</div>
<div class="list-item" value="0.85">-3</div>
<div class="list-item" value="0.80">-4</div>
<div class="list-item" value="0.75">-5</div>
</div>
<div class="time">
<input type="range" class="time-slider" min="0" max="1" step="1"/>
</div>
<div class="controls">
<div>
<material-symbol class="previous">skip_previous</material-symbol>
<material-symbol class="backward">fast_rewind</material-symbol>
<material-symbol class="play-pause">play_arrow</material-symbol>
<material-symbol class="forward">fast_forward</material-symbol>
<material-symbol class="next">skip_next</material-symbol>
<div class="hide-range">
<material-symbol class="volume">volume_up</material-symbol>
<input class="volume-slider" min="0" max="1" step="0.01" value="1" type="range"/>
</div>
<div class="time-info"><span class="current-time">0:00</span>/<span class="duration">0:00</span></div>
</div>
<div>
<material-symbol class="theatre">movie</material-symbol>
<material-symbol class="timelines">menu_book</material-symbol>
<material-symbol class="speed">slow_motion_video</material-symbol>
<material-symbol class="captions">closed_caption</material-symbol>
<material-symbol class="more">settings</material-symbol>
<material-symbol class="fullscreen">fullscreen</material-symbol>
</div>
</div>
<div class="loading-circle"></div>
<img class="owner-watermark"/>
<div class="stream-start-date">Stream will be started at <span class="date"></span></div>
</div>
<div class="info">
<div class="title"></div>
<div class="owner compact -owner-preview">
<img draggable="false" class="thumbnail"/>
<div class="name"></div>
<div class="followers"></div>
<material-symbol class="follow">notifications</material-symbol>
</div>
<div class="description"></div>
<div class="controls">
<button class="material-symbol like">favorite</button>
<button class="material-symbol playlist-add">playlist_add</button>
<button class="material-symbol listen">headphones</button>
<button class="material-symbol pip">picture_in_picture</button>
<button class="material-symbol download">download</button>
<button class="material-symbol share">share</button>
</div>
<div class="keywords"></div>
</div>
<div class="comments">Comments is not implemented</div>
</div>
<div class="seconder-flow">
<div class="panels">
<div class="autoplay">
<input checked type="checkbox" class="autoplay switch icons" on_icon="play_arrow" off_icon="pause">
<language-pack key="auto_add_to_queue"></language-pack>
</div>
<div class="playing-queue"></div>
</div>
<div class="next-videos"></div>
</div>
</div>
<div id="feed" class="view"></div>
<div id="following" class="view"></div>
<div id="playlists" class="view"></div>
<div id="playlist" class="view">Playlist</div>
<div id="history" class="view"></div>
<div id="queue" class="view"></div>
<div id="downloads" class="view"></div>
<div id="owner" class="view">
<div class="banner">
<img class="background" draggable="false"/>
<div class="overlay">
<img class="thumbnail" draggable="false"/>
<div class="info">
<div class="name">Name</div>
<div class="inline-info">
<div class="video_count">Video Count</div>
<div class="followers">Followers</div>
</div>
<div class="description">Description</div>
<material-symbol class="follow">notifications</material-symbol>
</div>
</div>
</div>
<div class="videos"></div>
</div>
<div id="settings" class="view">
<details>
<summary><language-pack key="appearance"></language-pack></summary>
<ul>
<li>
<span>Active Theme</span>
<input />
</li>
<li>
<span>Background Material</span>
<input />
</li>
</ul>
</details>
<details>
<summary><language-pack key="media_playing"></language-pack></summary>
Settings about media
</details>
<details>
<summary><language-pack key="plugins"></language-pack></summary>
Settings about plugins
</details>
</div>
<div id="about" class="view">
NewFlow<br>
Developed by malisipi
</div>
<div id="offline" class="view">
<div class="info_with_kaomoji">
<span class="kaomoji"><language-pack key="kaomoji_bird"></language-pack></span><br>
<language-pack key="no_network_bird"></language-pack>
</div>
</div>
</div>
<div class="playbar">
<img class="thumbnail" draggable="false" />
<div class="title"></div>
<div class="owner"></div>
<div class="controls">
<button class="material-symbol queue">list</button>
<button class="material-symbol play-pause">pause</button>
<button class="material-symbol close">close</button>
</div>
</div>
<dialog id="share" share_url="about:blank">
<material-symbol class="close">close</material-symbol>
<div class="title"><language-pack key="share"></language-pack></div>
<div class="actions">
<div class="twitter-x masked-symbol" style="mask: url(./assets/bootstrap-icons/twitter-x.svg);"></div>
<div class="whatsapp masked-symbol" style="mask: url(./assets/bootstrap-icons/whatsapp.svg);"></div>
<div class="telegram masked-symbol" style="mask: url(./assets/bootstrap-icons/telegram.svg);"></div>
<div><material-symbol class="copy-link">link</material-symbol></div>
<div><material-symbol class="open-in-browser">globe</material-symbol></div>
</div>
</dialog>
</body>
</html>