Open yz0903 opened 1 year ago
you have to put ffmpeg-core.js and ffmpeg-core.wasm inside of public folder then call
await ffmpeg.load({
coreURL: await toBlobURL(`/ffmpeg-core.js`, "text/javascript"),
wasmURL: await toBlobURL(`/ffmpeg-core.wasm`, "applicaiton/wasm"),
});
message.
code: import { createFFmpeg } from '@ffmpeg/ffmpeg'
I attempted to install the import in nuxt, but encountered an error. Vue-cli can create a project. I don't understand the reason
ERROR MESSAGE: Module parse failed: Unexpected token (29:51) friendly-errors 14:28:44
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | / From remote server/URL / | } else {