mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -04:00
Disable jassub offset renderer for android chroem
This commit is contained in:
parent
6f81eeef7e
commit
d593eb3134
@ -289,8 +289,9 @@ const useSubtitle = (
|
|||||||
workerUrl: "/_next/static/chunks/jassub-worker.js",
|
workerUrl: "/_next/static/chunks/jassub-worker.js",
|
||||||
wasmUrl: "/_next/static/chunks/jassub-worker.wasm",
|
wasmUrl: "/_next/static/chunks/jassub-worker.wasm",
|
||||||
legacyWasmUrl: "/_next/static/chunks/jassub-worker.wasm.js",
|
legacyWasmUrl: "/_next/static/chunks/jassub-worker.wasm.js",
|
||||||
// Disable offscreen renderer for firefox (see https://github.com/ThaUnknown/jassub/issues/31)
|
// Disable offscreen renderer due to bugs on firefox and chrome android
|
||||||
offscreenRender: !/firefox/i.test(navigator.userAgent),
|
// (see https://github.com/ThaUnknown/jassub/issues/31)
|
||||||
|
offscreenRender: false,
|
||||||
subUrl: value.link,
|
subUrl: value.link,
|
||||||
fonts: fonts,
|
fonts: fonts,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user