remotion
Version:
Make videos programmatically
11 lines (10 loc) • 429 B
TypeScript
import type { RefObject } from 'react';
import type { LogLevel } from './log';
export declare const playAndHandleNotAllowedError: ({ mediaRef, mediaType, onAutoPlayError, logLevel, mountTime, reason, }: {
mediaRef: RefObject<HTMLVideoElement | HTMLAudioElement | null>;
mediaType: "audio" | "video";
onAutoPlayError: null | (() => void);
logLevel: LogLevel;
mountTime: number;
reason: string;
}) => void;