Skip to content

Support for Running in Workers without document Object #258

@Yharooer

Description

@Yharooer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions