Skip to content

[Angular] Error: Failed to construct 'Worker': Script at 'file:///some-location/node_modules/@ffmpeg/ffmpeg/dist/esm/worker.js' #548

@gaurav10610

Description

@gaurav10610

Describe the bug
[Angular] Encountering the following error in an angular application while the app is locally served(npm serve) -
Error: Failed to construct 'Worker': Script at 'file:///some-location/node_modules/@ffmpeg/ffmpeg/dist/esm/worker.js'

To Reproduce

Expected behavior
FFmpeg should be loaded correctly

Screenshots
Screenshot 2023-08-15 at 12 52 28 PM

Desktop (please complete the following information):

  • OS: Mac OS
  • Browser chromium
  • Version: latest

Additional Information:
Also, if we can have a small example added for Angular in the examples section then it will be really great. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions