Repository URL to install this package:
|
Version:
4.0.75 ▾
|
export type VideoSourceType = 'webm' | 'ogg' | 'mp4' | string
export type AutoPlay = boolean | undefined
export type URL = string
export 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
}