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';
exportconstMyComposition= () => {
return (
<AbsoluteFill>
<Sequencefrom={100}>
<Html5Audiosrc={staticFile('audio.mp3')} />
</Sequence>
</AbsoluteFill>
);
};

AltStyle によって変換されたページ (->オリジナル) /