ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Support for Running in Workers without `document` Object
Aperta
- Lingua principale
- C
- Stelle
- 17.8k
- Fork
- 1.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
At the moment, FFmpeg.wasm cannot be run on a Service Worker since Service Worker does not have access to `document`.
One reason this does not work is due to the usage of `resolve-url` which fails if the `document` object is not available.
One would also have to change the way the script is injected by using `importScripts` over `document.createElement('script')` if `document` is not available.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.