You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using Subtitle Octopus in a browser extension to overlay .ass subs on top of videos on sites such as YouTube. It works well when WASM isn't blocked by the site's content security policy. However when the site's CSP prevents WASM code generation, the legacy worker script will be used.
The legacy script throws the following error during initialization:
I've made some modifications to how fonts are loaded to make it work in the context of an extension, but they are the same as what was done to the non-legacy script which works fine after the changes so I don't think this is due to my modifications. The large line numbers are due to me running prettier on the file.
The error above happens for the 4.0.0 subtitles-octopus-worker-legacy.js. If I build the latest source, a similar error occurs but during _emscripten_bind_SubtitleOctopus_initLibrary_2 instead of _emscripten_bind_SubtitleOctopus_createTrack_1
I probably have a workaround for this that does not involve falling back on the legacy script but I just want to know if this is something that can be solved or if the legacy script is not supported any more.
The text was updated successfully, but these errors were encountered:
I'm currently using Subtitle Octopus in a browser extension to overlay .ass subs on top of videos on sites such as YouTube. It works well when WASM isn't blocked by the site's content security policy.However when the site's CSP prevents WASM code generation, the legacy worker script will be used.The legacy script throws the following error during initialization:I've made some modifications to how fonts are loaded to make it work in the context of an extension, but they are the same as what was done to the non-legacy script which works fine after the changes so I don't think this is due to my modifications. The large line numbers are due to me running prettier on the file.The error above happens for the 4.0.0subtitles-octopus-worker-legacy.js
. If I build the latest source, a similar error occurs but during_emscripten_bind_SubtitleOctopus_initLibrary_2
instead of_emscripten_bind_SubtitleOctopus_createTrack_1
I probably have a workaround for this that does not involve falling back on the legacy script but I just want to know if this is something that can be solved or if the legacy script is not supported any more.The text was updated successfully, but these errors were encountered: