Skip to content

🎥 Make videos programmatically with React

350 B
Raw Blame
import {whip, whoosh} from '@remotion/sfx';
import React from 'react';
import {Audio, Sequence} from 'remotion';

export const SfxExample: React.FC = () => {
	return (
		<>
			<Sequence durationInFrames={30}>
				<Audio src={whip} />
			</Sequence>
			<Sequence from={30} durationInFrames={30}>
				<Audio src={whoosh} />
			</Sequence>
		</>
	);
};