🎥 Make videos programmatically with React
revert
Jonny Burger71f0d17088c9
diff --git a/packages/core/src/audio/Audio.tsx b/packages/core/src/audio/Audio.tsxindex fd797ce0fb..4501ee4a24 100644--- a/packages/core/src/audio/Audio.tsx+++ b/packages/core/src/audio/Audio.tsx@@ -13,13 +13,8 @@ export const Audio: React.FC<RemotionAudioProps & RemotionMainAudioProps> = (const startAtFrameNo = startAt ?? 0;const endAtFrameNo = endAt ?? Infinity;return (- <Sequence- from={startAtFrameNo}- durationInFrames={endAtFrameNo - startAtFrameNo}- >- <Sequence from={0 - startAtFrameNo} durationInFrames={Infinity}>- <Audio {...otherProps} />- </Sequence>+ <Sequence from={0 - startAtFrameNo} durationInFrames={endAtFrameNo}>+ <Audio {...otherProps} /></Sequence>);}diff --git a/packages/core/src/video/Video.tsx b/packages/core/src/video/Video.tsxindex 8a9c8ab47e..b9c5781534 100644--- a/packages/core/src/video/Video.tsx+++ b/packages/core/src/video/Video.tsx@@ -15,13 +15,8 @@ export const Video: React.FC<RemotionVideoProps & RemotionMainVideoProps> = (const startAtFrameNo = startAt ?? 0;const endAtFrameNo = endAt ?? Infinity;return (- <Sequence- from={startAtFrameNo}- durationInFrames={endAtFrameNo - startAtFrameNo}- >- <Sequence from={0 - startAtFrameNo} durationInFrames={Infinity}>- <Video {...otherProps} />- </Sequence>+ <Sequence from={0 - startAtFrameNo} durationInFrames={endAtFrameNo}>+ <Video {...otherProps} /></Sequence>);}