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 还没有评估数据。