This commit is contained in:
ct
2025-06-15 08:36:43 +08:00
parent 6431bdafc1
commit a4978c0d03

View File

@@ -344,7 +344,7 @@ const VideoEditor = ({ width, height }) => {
video.load(); video.load();
}); });
}; };
}, [dimensions.width, dimensions.height]); }, []);
useEffect(() => { useEffect(() => {
const videoCount = timelineElements.filter((el) => el.type === 'video').length; const videoCount = timelineElements.filter((el) => el.type === 'video').length;