diff --git a/src/components/video-editor/VideoEditor.tsx b/src/components/video-editor/VideoEditor.tsx index af817c1..3ccfcfe 100644 --- a/src/components/video-editor/VideoEditor.tsx +++ b/src/components/video-editor/VideoEditor.tsx @@ -187,9 +187,9 @@ export default function VideoEditor() { videoPlaybackRef.current?.pause(); } - // Determine export dimensions (use video dimensions) - const width = video.videoWidth; - const height = video.videoHeight; + // Always export at 1920x1080 (16:9) + const width = 1920; + const height = 1080; const exporter = new VideoExporter({ videoUrl: videoPath, @@ -203,7 +203,7 @@ export default function VideoEditor() { showShadow, showBlur, cropRegion, - onProgress: (progress) => { + onProgress: (progress: ExportProgress) => { setExportProgress(progress); }, });