mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -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",
|
||||
wasmUrl: "/_next/static/chunks/jassub-worker.wasm",
|
||||
legacyWasmUrl: "/_next/static/chunks/jassub-worker.wasm.js",
|
||||
// Disable offscreen renderer for firefox (see https://github.com/ThaUnknown/jassub/issues/31)
|
||||
offscreenRender: !/firefox/i.test(navigator.userAgent),
|
||||
// Disable offscreen renderer due to bugs on firefox and chrome android
|
||||
// (see https://github.com/ThaUnknown/jassub/issues/31)
|
||||
offscreenRender: false,
|
||||
subUrl: value.link,
|
||||
fonts: fonts,
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user