ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Where is defined fetchFile?

Open
#864 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I'm using version 12.15 and in my code here is what i'm doing:

In my _Layout.cshtml page i have add the scripts:

```

document.addEventListener('DOMContentLoaded', async () => {
if (typeof FFmpegWASM?.FFmpeg !== "function") {
console.log("FFmpeg not available");
return;
}

try {
const ffmpeg = new FFmpegWASM.FFmpeg();
await ffmpeg.load({
log: true,
corePath: '~/ffmpeg-core/umd/ffmpeg-core.min.js'
});
}
catch (e) {
console.log(e);
}
}

```

But i didnt find where fetchFile is defined.
Am I missing something?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.