Why can't ffmpeg worker.js be loaded via blob url? #880
Unanswered
hellohejinyu
asked this question in
Q&A
Replies: 1 comment
-
Maybe it's because the import in worker.js can't be resolved properly when I import it through the blob url? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Because my project will eventually upload resource files to a storage bucket and host them under another domain name. So in order to solve the cors problem of the worker, I used pnpm patch to modify the code of @ffmpeg/ffmpeg and tried to load worker.js through the form of blob url.
But if I switch to blob url, it will fail, and there will be no output in the console, as if nothing happened.
Beta Was this translation helpful? Give feedback.
All reactions