-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoffline.html
377 lines (364 loc) · 25.7 KB
/
offline.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
<!-- Note: Not fully offline!!! it needs access to unpkg -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Fsh flash</title>
<script src="https://unpkg.com/@ruffle-rs/ruffle@0.1.0-nightly.2024.10.11/ruffle.js"></script>
<script>
// Make player fit screen
function fitScreen() {
let nav = document.getElementById("navbar").getBoundingClientRect();
window.player.width = window.innerWidth;
window.player.height = window.innerHeight - nav.height;
}
// Create the ruffle player
window.RufflePlayer = window.RufflePlayer || {};
window.RufflePlayer.config = {
autoplay: "on",
unmuteOverlay: "hidden",
letterbox: "on",
openUrlMode: "confirm",
scale: "showAll",
background: "#181818"
};
// On load set up ruffle
window.addEventListener("load", (event) => {
// Adding player
const ruffle = window.RufflePlayer.newest();
const player = ruffle.createPlayer();
const container = document.getElementById("container");
container.appendChild(player);
// Making public
window.player = player;
// Adding extra functions smh
if (!window.player.volumeControls) window.player.volumeControls = document.querySelector("#container > ruffle-player").shadowRoot.querySelector("#volume-controls-modal");
if (!window.player.openVolumeControls) window.player.openVolumeControls = function(){window.player.volumeControls.classList.remove('hidden')};
if (!window.player.closeVolumeControls) window.player.closeVolumeControls = function(){window.player.volumeControls.classList.add('hidden')};
window.player.toggleVolumeControls = function(){
window.player.volumeControls.classList.value.includes('hidden') ? window.player.openVolumeControls() : window.player.closeVolumeControls();
}
// Force dark mode and our colors
let style = window.player.shadowRoot.querySelector('style');
style.innerHTML = style.innerHTML.replace('border:1px solid gray;', 'border-radius:12px;');
style.innerHTML = style.innerHTML.replace('#context-menu{', '#context-menu{overflow:hidden;');
style.innerHTML = style.innerHTML.replace('#context-menu .menu-item{', '#context-menu .menu-item{transition:padding 500ms;');
style.innerHTML = style.innerHTML.replace('#context-menu .menu-item:not(.disabled):hover{', '#context-menu .menu-item:not(.disabled):hover{padding:5px 10px 5px 14px;');
// Add resie event listener and size player
window.addEventListener('resize', fitScreen);
fitScreen()
});
// When file dropped
function dropHandler(ev) {
ev.stopPropagation();
ev.preventDefault();
document.getElementById('style').innerHTML = ``;
if (ev.dataTransfer.items) {
for (let i = 0; i<ev.dataTransfer.items.length; i++) {
if (ev.dataTransfer.items[i].kind === "file") {
const file = ev.dataTransfer.items[i].getAsFile();
if (file.type != 'application/x-shockwave-flash') {
alert('File must be shockwave flash')
return;
}
window.player.load(URL.createObjectURL(file));
document.getElementById('container').focus();
fitScreen()
}
};
} else {
ev.dataTransfer.files.forEach((file, i) => {
window.player.load(URL.createObjectURL(file));
document.getElementById('container').focus();
fitScreen()
});
}
}
// When file dragged over screen
function dragOverHandler(ev) {
ev.stopPropagation();
ev.preventDefault();
document.getElementById('selection').close();
document.getElementById('style').innerHTML = `#sub {
display:block !important;
transform: translate(-50%, -50%);
padding: 50px;
border-radius: 1rem;
background-color: #224;
text-align: center;
font-size: 40px;
position: absolute;
top: 50%;
left: 50%;
z-index: 9999999;
}`;
}
// When dragged file leaves
function dragLeaveHandler(ev) {
ev.stopPropagation();
ev.preventDefault();
document.getElementById('style').innerHTML = ``;
}
// Pre process files
function fileHandle(ev) {
document.getElementById('selection').close();
ob = {
stopPropagation: function(){},
preventDefault: function(){},
dataTransfer: {
files: Array.from(ev.target.files)
}
};
dropHandler(ob)
}
// URL
function urlHandle(url) {
document.getElementById('selection').close();
fetch('https://api.fsh.plus/file?url='+encodeURIComponent(url))
.then(res=>res.arrayBuffer())
.then(res=>{
let file = new File([res], "file.swf");
ob = {
stopPropagation: function(){},
preventDefault: function(){},
dataTransfer: {
files: Array.from([file])
}
};
dropHandler(ob)
})
}
let searchParams = new URLSearchParams(location.search);
window.addEventListener("DOMContentLoaded", () => {
if (searchParams.has('url')) {
urlHandle(searchParams.get('url'));
}
});
</script>
<style>
/* -- Main styling for fsh pages -- */
/* -- Vars -- */
:root {
--bg-0: #0c0c0c;
--bg-1: #181818;
--bg-2: #252525;
--bg-3: #333333;
--text-0: #ffffff;
--text-1: #dddddd;
--text-2: #bbbbbb;
--text-3: #888888;
--accent-1: #38bdf8; /*Tailwind: sky 400*/
--accent-2: #0ea5e9; /*Tailwind: sky 500*/
}
/* -- General styling -- */
body {
color: var(--text-1);
background-color: var(--bg-1);
font-family: 'Lexend', 'Arial';
margin: 0px;
padding: 0px;
caret-color: transparent;
}
h1, h2, p {
margin: 2px;
}
img {
user-drag: none;
user-select: none;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
}
svg {
fill: var(--text-1);
stroke: var(--text-1);
transition: 500ms;
}
@media (prefers-reduced-motion) {
* {
transition: none !important;
}
}
/* -- Dialogs -- */
dialog {
padding: 10px;
color: var(--text-1);
border-radius: 1rem;
background-color: var(--bg-1);
border: 2px var(--text-1) solid;
}
::backdrop {
backdrop-filter: blur(2px);
}
/* -- Scrollbar -- */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-1);
}
::-webkit-scrollbar-corner {
background: var(--bg-1);
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: var(--text-3);
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--bg-3);
}
/* -- Links -- */
a {
cursor: pointer;
color: var(--accent-1);
transition: color 250ms ease;
}
a:hover {
color: var(--accent-2);
}
/* -- Inputs -- */
button {
cursor: pointer;
padding: 5px;
outline: none;
font-weight: bold;
font-size: 80%;
transition: 500ms;
color: var(--text-1);
border-radius: 0.5rem;
border: 2px var(--text-1) solid;
background-color: transparent;
}
button:hover {
color: var(--bg-1);
background-color: var(--text-1);
}
button:hover svg {
fill: var(--bg-1);
stroke: var(--bg-1);
}
input:not([type=range]), textarea, select {
margin: 5px;
padding: 5px;
outline: none;
font-weight: bold;
caret-color: auto;
color: var(--text-1);
border-radius: 0.75rem;
border: 2px var(--text-1) solid;
background-color: transparent;
}
input[type=file]::file-selector-button {
outline: none;
font-weight: bold;
caret-color: auto;
color: var(--text-1);
border-radius: 0.25rem;
border: 2px var(--text-1) solid;
background-color: transparent;
}
option {
background-color: var(--bg-1);
}
option:disabled {
background-color: var(--bg-0);
}
button:focus-within, input:focus-within, textarea:focus-within, select:focus-within {
outline: 1px solid var(--text-0);
}
</style>
<style>
body {
min-height: 100vh;
transition: 500ms;
overflow: hidden;
}
RufflePlayer, ruffle-player {
display: block;
width: 100vw;
height: calc(100vh - 21px);
--splash-screen-background: var(--bg-1);
}
#navbar {
display: flex;
align-items: center;
}
.link {
display: flex;
height: 21px;
align-items: center;
color: var(--text-1);
text-decoration: none;
}
.keep {
margin: 0;
padding: 0px 4px;
}
#sub {
display: none;
}
input[type="file"] {
margin: 0;
padding: 0px 5px;
border-radius: 0.5rem;
}
input[type="file"]::file-selector-button {
border: none;
padding: 0;
}
#urlswf {
width: 80%;
box-sizing: border-box;
}
.up {
text-align: center;
flex: 1;
}
.opts {
display: flex;
align-items: center;
}
.opts p {
margin: 0;
}
.opts button {
padding: 0px 4px;
border-radius: 0;
border: none;
}
/* Force dark mode and our colors */
* {
--modal-background: var(--bg-2) !important;
--modal-foreground-rgb: 221,221,221 !important;
--modal-foreground-filter: invert(90%) !important;
}
</style>
<style id="style"></style>
</head>
<body ondrop="dropHandler(event)" ondragover="dragOverHandler(event)" ondragleave="dragLeaveHandler(event)">
<div id="sub">Drop swf file anywhere to view</div>
<dialog id="selection">
<p>Drag and drop a file</p>
<hr>
<input type="file" accept=".swf" onchange="fileHandle(event)">
<hr>
<input type="url" id="urlswf" onchange="if(!this.value.includes('://')){this.value='https://'+this.value}">
<button onclick="urlHandle(document.getElementById('urlswf').value)">Get</button>
</dialog>
<div id="navbar">
<a class="link" href="https://fsh.plus">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAABBVBMVEX9+f1NRko/NzpeV1oqICTj2uDUy8/DvMJza28xLDH07PGim6KOh4uzq7H17vP69fn89/vl3OJfWFv58/fWzdE9NTlOR0vh2N7Z0NW0rbPBub/38PXt5erz6/AzLTKknKNSS052bnJCOz5KQ0e3sLbIwMbFvsTKwseel53v5+y7s7k5MzZbVFfPx8y+trzn3uTXz9NFPkHb0temn6bx6e6spavd1Nnf1tvMxMksJCnp4OZtZmk2MDSwqa/r4uhwaW0vKC2poqhVTlFIQUSTjJF+d3tqYmZjXF/Ryc2Wj5WblJlmX2KLg4hYUVR6cnaup62QiY2FfYGIgYWCen4lHCAPDA4aFBcCmWa6AAAjNklEQVR42uzRQUvDMBiA4VzswJR8KT2Ii2UIalOho4duFqE7OZgixP//a0xlggcvg8EKeZ/k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A8n9tBFVVVVVVVVVVVVVVVVVVlfbgQAAAAABAkL/1CAtUAAAAAPACHdQ8BlFQsUoAAAAASUVORK5CYII=" height="16">
<label>Fsh</label>
</a>
<label class="up">Drop a file or <button class="keep" onclick="document.getElementById('selection').showModal()">Select one</button></label>
<label class="opts">
<p>Actions:</p>
<button onclick="window.player.enterFullscreen()" aria-label="fullscreen"><svg width="15" height="15" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"><path d="M160 5C160 2.23858 162.239 0 165 0H251C253.761 0 256 2.23858 256 5V91C256 93.7614 253.761 96 251 96H213C210.239 96 208 93.7614 208 91V53C208 50.2386 205.761 48 203 48H165C162.239 48 160 45.7614 160 43V5Z"></path><path d="M0 5C0 2.23857 2.23858 0 5 0H91C93.7614 0 96 2.23858 96 5V43C96 45.7614 93.7614 48 91 48H53C50.2386 48 48 50.2386 48 53V91C48 93.7614 45.7614 96 43 96H5C2.23858 96 0 93.7614 0 91V5Z"></path><path d="M203 208C205.761 208 208 205.761 208 203V165C208 162.239 210.239 160 213 160H251C253.761 160 256 162.239 256 165V251C256 253.761 253.761 256 251 256H165C162.239 256 160 253.761 160 251V213C160 210.239 162.239 208 165 208H203Z"></path><path d="M0 165C0 162.239 2.23858 160 5 160H43C45.7614 160 48 162.239 48 165V203C48 205.761 50.2386 208 53 208H91C93.7614 208 96 210.239 96 213V251C96 253.761 93.7614 256 91 256H5C2.23857 256 0 253.761 0 251V165Z"></path></svg></button>
<button onclick="window.player.pause()" aria-label="pause"><svg height="18" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"><rect x="43" y="28" width="50" height="200" rx="10"></rect><rect x="163" y="28" width="50" height="200" rx="10"></rect></svg></button>
<button onclick="window.player.toggleVolumeControls()" aria-label="volume controls"><svg xmlns="http://www.w3.org/2000/svg" height="15" viewBox="0 0 640 512"><path d="M533.6 32.5C598.5 85.2 640 165.8 640 256s-41.5 170.7-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64l0 384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352 64 352c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l67.8 0L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z"/></svg></button>
</label>
</div>
<RufflePlayer id="container"></RufflePlayer>
</body>
</html>