remotion
Version:
Make videos programmatically
9 lines (8 loc) • 451 B
TypeScript
import type { ForwardRefExoticComponent, RefAttributes } from 'react';
import type { OnVideoFrame, RemotionVideoProps } from './props';
type VideoForRenderingProps = RemotionVideoProps & {
readonly onDuration: (src: string, durationInSeconds: number) => void;
readonly onVideoFrame: null | OnVideoFrame;
};
export declare const VideoForRendering: ForwardRefExoticComponent<VideoForRenderingProps & RefAttributes<HTMLVideoElement>>;
export {};