Open Allespro opened 7 months ago
hi May I ask how you solved this problem locally?
hi
May I ask how you solved this problem locally?
hi, put ffmpeg.js into prettifier, then found line of code where worker starts from remote url, then convert remote url to Blob object
Describe the bug There are two errors I get
NS_ERROR_BLOCKED_BY_POLICY
or something like incorrect origin. This bug when creatingnew Worker()
from multithreaded814.ffmpeg.js
URLTo Reproduce Idk, just upload to server and try to use
Expected behavior WebWorker starting without problems
Additional context So I found solution, in
ffmpeg/package/dist/umd/ffmpeg.js
instead of:use:
and
getWorkerURL
function:Don't know where I can fix this in whole source code, so leave this as issue. Think that can help someone.