🎥 Make videos programmatically with React
Update Video.tsx
Jonny Burgerad9d3d4ac879
diff --git a/packages/core/src/video/Video.tsx b/packages/core/src/video/Video.tsxindex fdbde3c8d8..8fbcdf1279 100644--- a/packages/core/src/video/Video.tsx+++ b/packages/core/src/video/Video.tsx@@ -130,7 +130,10 @@ const VideoForwardingFunction: React.ForwardRefRenderFunction<layout="none"from={0 - (trimBeforeValue ?? 0)}showInTimeline={false}- durationInFrames={trimAfterValue}+ durationInFrames={+ ((trimAfterValue ?? 0) - (trimBeforeValue ?? 0)) /+ (props.playbackRate ?? 1)+ }name={name}><Html5Video