🎥 Make videos programmatically with React
Update packages/media/src/video/video-for-preview.tsx
Jonny Burger87faebdf840b
diff --git a/packages/media/src/video/video-for-preview.tsx b/packages/media/src/video/video-for-preview.tsxindex 76ef28303f..e490ccfa05 100644--- a/packages/media/src/video/video-for-preview.tsx+++ b/packages/media/src/video/video-for-preview.tsx@@ -570,7 +570,7 @@ const VideoForPreviewAssertedShowing: React.FC<<canvasref={canvasRef}// Don't set width and height here.- // Width is set in the video iterator manager, if props are being upated, they are being applied again by React.+ // Width is set in the video iterator manager, if props are being updated, they are being applied again by React.// This will lead to inefficient resizes.style={actualStyle}className={classNameValue}