ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Support for Running in Workers without `document` Object
未關閉
- 主要語言
- C
- 星號
- 17.8k
- 分支
- 1.1k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
評估
這個 Issue 還沒有評估資料。