ffmpegwasm / ffmpegwasm/react-app

ffmpeg-core unpkg NotSameOriginAfterDefaultedToSameOriginByCoep

Open
#16 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
214
Forks
52
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/ffmpegwasm/ffmpeg.wasm#installation). Does this mean the ffmpeg core needs to be loaded from same origin?

```js
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.