Skip to content

🎥 Make videos programmatically with React

Update LoopedAudio.tsx

Jonny Burger73e399b45841
diff --git a/packages/example/src/AudioSmoothness/LoopedAudio.tsx b/packages/example/src/AudioSmoothness/LoopedAudio.tsx
index e2a6d075f0..a8d2b2be1c 100644
--- a/packages/example/src/AudioSmoothness/LoopedAudio.tsx
+++ b/packages/example/src/AudioSmoothness/LoopedAudio.tsx
@@ -5,11 +5,7 @@ import {Composition, Sequence} from 'remotion';
const src = 'https://remotion.media/dialogue.wav';
const Component: React.FC = () => {
- return (
- <Sequence durationInFrames={420} from={100}>
- <Audio src={src} trimBefore={10 * 30} trimAfter={11 * 30} loop />
- </Sequence>
- );
+ return <Audio src={src} trimAfter={2 * 30} loop />;
};
export const AudioSmoothnessLoopedAudioComp: React.FC = () => {