🎥 Make videos programmatically with React
startFrom shouldn't have an impact on layout
Jonny Burger19af3da1288d
diff --git a/packages/core/src/audio/Audio.tsx b/packages/core/src/audio/Audio.tsxindex fc0d6cb3ef..5e0a86e2f1 100644--- a/packages/core/src/audio/Audio.tsx+++ b/packages/core/src/audio/Audio.tsx@@ -17,6 +17,7 @@ export const Audio: React.FC<RemotionAudioProps & RemotionMainAudioProps> = (const endAtFrameNo = endAt ?? Infinity;return (<Sequence+ layout="none"from={0 - startAtFrameNo}showInTimeline={false}durationInFrames={endAtFrameNo}diff --git a/packages/core/src/video/Video.tsx b/packages/core/src/video/Video.tsxindex b2d730615d..8225fecd9b 100644--- a/packages/core/src/video/Video.tsx+++ b/packages/core/src/video/Video.tsx@@ -17,6 +17,7 @@ export const Video: React.FC<RemotionVideoProps & RemotionMainVideoProps> = (const endAtFrameNo = endAt ?? Infinity;return (<Sequence+ layout="none"from={0 - startAtFrameNo}showInTimeline={false}durationInFrames={endAtFrameNo}