We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d62e1a commit e97f1d9Copy full SHA for e97f1d9
src/browser/getCreateFFmpegCore.js
@@ -75,11 +75,11 @@ export const getCreateFFmpegCore = async ({
75
'application/javascript',
76
);
77
const wasmPath = await toBlobURL(
78
- coreRemotePath.replace('ffmpeg-core.js', 'ffmpeg-core.wasm'),
+ _wasmPath !== undefined ? _wasmPath : coreRemotePath.replace('ffmpeg-core.js', 'ffmpeg-core.wasm'),
79
'application/wasm',
80
81
const workerPath = await toBlobURL(
82
- coreRemotePath.replace('ffmpeg-core.js', 'ffmpeg-core.worker.js'),
+ _workerPath !== undefined ? _workerPath : coreRemotePath.replace('ffmpeg-core.js', 'ffmpeg-core.worker.js'),
83
84
85
if (typeof createFFmpegCore === 'undefined') {
0 commit comments