Repository URL to install this package:
|
Version:
4.0.75 ▾
|
export declare type VideoSourceType = 'webm' | 'ogg' | 'mp4' | string;
export declare type AutoPlay = boolean | undefined;
export declare type URL = string;
export declare type SourceType = VideoSourceType | Array<VideoSourceType>;
export interface SourceProps {
src: SourceType;
}
export interface VideoTypes {
src: SourceType;
cover?: URL;
shouldAutoPlay?: AutoPlay;
shouldLoop?: boolean;
hasNativeControls?: boolean;
muted?: boolean;
preload?: string;
className?: string;
isPaused?: boolean | undefined;
}
export { VideoTypes as VideoProps };
export interface AliasedVideoTypes extends VideoTypes {
shouldAutoplay?: boolean;
thumbnailImage?: string;
poster?: string;
}