Open LeoMsky opened 2 months ago
When the code runs to:
await ffmpeg.load({ coreURL: await toBlobURL(`${baseURL}/ffmpeg-core.js`, 'text/javascript'), wasmURL: await toBlobURL(`${baseURL}/ffmpeg-core.wasm`, 'application/wasm'), });
an error occurs:
814.ffmpeg.js:1 Uncaught SyntaxError: Unexpected token '<' (at 814.ffmpeg.js:1:1) config: tsdx+react+typescript "@ffmpeg/ffmpeg": "^0.12.10", "@ffmpeg/util": "^0.12.1", const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.6/dist/esm';
config: tsdx+react+typescript "@ffmpeg/ffmpeg": "^0.12.10", "@ffmpeg/util": "^0.12.1", const baseURL = 'https://unpkg.com/@ffmpeg/core@0.12.6/dist/esm';
When the code runs to:
an error occurs: