ffmpegwasm / ffmpegwasm/ffmpeg.wasm

load() error!!

Open
#738 0 comments 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

下载的版本是"@ffmpeg/ffmpeg": "^0.12.10",
"@ffmpeg/util": "^0.12.1",
在vue3+ts的环境中使用ffmpeg.load()方法报错;
Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
at FFmpeg.load (@ffmpeg_ffmpeg.js?v=acba8fb0:121:25)
at reader.onloadend (ossUtils.ts:227:7)

请问怎么解决?

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

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.