Properties
Optional
autoPlay
autoPlay?: boolean
Optional
containerStyle
containerStyle?: {
[key: string]: string | null;
}
Type declaration
[key: string]: string | null
Optional
controls
controls?: boolean
Optional
crossOrigin
crossOrigin?: boolean
Optional
height
height?: string
Optional
isActived
isActived?: boolean
Optional
loop
loop?: boolean
Optional
muted
muted?: boolean
Optional
objectFit
objectFit?: "fill" | "contain" | "cover"
Optional
opacity
opacity?: string
Optional
playsInline
playsInline?: boolean
Optional
poster
poster?: string
Optional
preload
preload?: "none" | "metadata" | "auto"
Optional
src
src?: string
Optional
width
width?: string
containerStyle设置,e.g.{'width':'100vw','height:'100vh'}