fix: ffmpeg 压缩适配

This commit is contained in:
tim
2025-09-11 19:10:14 +08:00
parent ea079e8b8a
commit ab04a8b6b1
5 changed files with 7 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ export function createVditor(editorId, options = {}) {
// 如果是视频文件且需要压缩
if (isVideo && sizeCheck.needsCompression) {
try {
vditor.tip('视频压缩中...', 0)
vditor.tip('开始部署ffmpeg环境... 请稍等', 0)
vditor.disabled()
// 使用 FFmpeg 压缩视频