ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Support for Running in Workers without `document` Object

Ouverte
#258 2 commentaires 4 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
17.8k
Forks
1.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.