This commit is contained in:
ct
2025-06-18 14:08:56 +08:00
parent 60236af762
commit f1dcbfe57f
3 changed files with 36 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ const VideoEditor = ({ width, height, onOpenTextSidebar }) => {
currentCaption: currentCaption || 'Default caption text',
};
const generatedTimeline = generateTimelineFromTemplate(SINGLE_CAPTION_TEMPLATE, mediaStoreData);
const generatedTimeline = generateTimelineFromTemplate(dimensions, SINGLE_CAPTION_TEMPLATE, mediaStoreData);
if (generatedTimeline.length > 0) {
cleanupVideos(videoElements);