ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Support for Running in Workers without `document` Object

未關閉
#258 2 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。