Open dvnrsn opened 2 years ago
"why it doesn't work in my local environment" section https://github.com/ffmpegwasm/ffmpeg.wasm#why-it-doesnt-work-in-my-local-environment
Was able to resolve this in nextJS context by moving all scripts (ffmpeg-core.js, wasm, worker, min) to public/
. This does not seem preferable but working for now.
The same error
The same error
The initial problem faced running this app is an inability to successfully fetch from unpkg
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?Doing so creates a problem that I originally faced trying this out in codesandbox