react-video-timestone
Version:
A React component library for video timestone functionality
17 lines • 713 B
TypeScript
import { RefObject } from 'react';
import { IOnStateChangeProps, Marker, TimelineRef } from '../../types';
export default function VideoTimestone({ speed, className, videoUrls, markers, controls, posters, onLoading, onLoaded, onReady, onStateChange, fullScreen, ref, }: {
speed?: number;
posters?: string[];
className?: string;
videoUrls: string[];
markers?: Marker[];
onLoading?: (progress: number) => void;
onLoaded?: () => void;
onReady?: () => void;
onStateChange?: (args: IOnStateChangeProps) => void;
controls?: boolean;
fullScreen?: boolean;
ref: RefObject<TimelineRef | null>;
}): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=index.d.ts.map