Skip to main content

Delaying Audio

Use a <Sequence> with a positive from value to delay the audio from playing.

In the following example, the audio will start playing after 100 frames.

tsx
import {AbsoluteFill, Html5Audio, Sequence, staticFile} from 'remotion';
 
export const MyComposition = () => {
return (
<AbsoluteFill>
<Sequence from={100}>
<Html5Audio src={staticFile('audio.mp3')} />
</Sequence>
</AbsoluteFill>
);
};