ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Support for Running in Workers without `document` Object

Đang mở
#258 2 bình luận 4 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
17.8k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.