ffmpegwasm / ffmpegwasm/ffmpeg.wasm
react-vite-app doesn't work with current URL that uses version 0.12.10
- Dominant language
- C
- Stars
- 17.8k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Run the react-vite-app in this project with `npm install --legacy-peer-deps` or `npm install --no-workspaces` and then `npm run dev`
**To Reproduce**
Press the button for loading ffmpeg.
**Expected behavior**
ffmpeg loads, and there's a button to transcode a video with ffmpeg
**Actual Behavior / Screenthos**
ffmpeg fails to load because of a 404 error.
**Additional context**
Changing the URL at https://github.com/ffmpegwasm/ffmpeg.wasm/blob/efac2471225bf7b3dc7f394886437f394a74f0c9/apps/react-vite-app/src/App.tsx#L12 from `""https://unpkg.com/@ffmpeg/core-mt@0.12.10/dist/esm"` to `""https://unpkg.com/@ffmpeg/core-mt@0.12.6/dist/esm"` fixes the issue, but I'm wondering if some configuration for hosting the ffmpeg core files can be updated to make `0.12.10` work
Contributor guide
Assessment
This issue has not been assessed yet.