ffmpegwasm / ffmpeg.wasm

FFmpeg for browser, powered by WebAssembly
https://ffmpegwasm.netlify.app
MIT License
13.47k stars 776 forks source link

Manually provide `814.ffmpeg.js`'s path #688

Open avi12 opened 4 months ago

avi12 commented 4 months ago

Is your feature request related to a problem? Please describe. I cannot load the module in a Chrome extension scaffolded by Plasmo The reason is that when FFmpeg loads up, it looks for 814.ffmpeg.js in the same directory as ffmpeg.js, whereas Plasmo, which uses Parcel under the hood, renames the file to include a hash, e.g. 814.ffmpeg.d7h8ng.js

Describe the solution you'd like Allow manually providing a path to 814.ffmpeg.js

Describe alternatives you've considered The only alternative is to create an extension without using Plasmo