Skip to content

ffmpeg-core unpkg NotSameOriginAfterDefaultedToSameOriginByCoep #16

@dvnrsn

Description

@dvnrsn

The initial problem faced running this app is an inability to successfully fetch from unpkg

image

However, disabling the cross origin leads to the SharedArayBuffer problem as described in installation. Does this mean the ffmpeg core needs to be loaded from same origin?

  const ffmpeg = createFFmpeg({
    corePath: "node_modules/@ffmpeg/core/dist/ffmpeg-core.js",

Doing so creates a problem that I originally faced trying this out in codesandbox

image

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