OptionalcustomStyle
customStyle?: CSSProperties
OptionalbarColor
barColor?: string
OptionaltextColor
textColor?: string
OptionalimageSource
imageSource?: string
OptionalroundedImage
roundedImage?: boolean
OptionalimageStyle
imageStyle?: CSSProperties
OptionalshowControls
showControls?: boolean
OptionalshowInfo
showInfo?: boolean
OptionalvideoInfoComponent
videoInfoComponent?: ReactNode
OptionalvideoControlsComponent
videoControlsComponent?: ReactNode
OptionalbackgroundColor
backgroundColor?: string
OptionalcardProps
cardProps?: HTMLAttributes<HTMLDivElement>
OptionalinfoOverlayProps
infoOverlayProps?: HTMLAttributes<HTMLDivElement>
OptionalnameContainerProps
nameContainerProps?: HTMLAttributes<HTMLDivElement>
OptionalnameTextProps
nameTextProps?: HTMLAttributes<HTMLParagraphElement>
OptionalwaveformContainerProps
waveformContainerProps?: HTMLAttributes<HTMLDivElement>
OptionalwaveformBarStyle
waveformBarStyle?: CSSProperties
OptionalwaveformBarProps
waveformBarProps?: HTMLAttributes<HTMLDivElement>
OptionalwaveformHeights
waveformHeights?: {
silent?: number;
active?: number;
}
OptionalwaveformDurations
waveformDurations?: number[]
OptionalwaveformBarCount
waveformBarCount?: number
OptionalrenderWaveformBar
renderWaveformBar?: ((options: {
index: number;
isActive: boolean;
height: number;
style: CSSProperties;
props: HTMLAttributes<HTMLDivElement>;
}) => ReactNode)
OptionalcontrolsOverlayProps
controlsOverlayProps?: HTMLAttributes<HTMLDivElement>
OptionalcontrolButtonProps
controlButtonProps?: {
audio?: ButtonHTMLAttributes<HTMLButtonElement>;
video?: ButtonHTMLAttributes<HTMLButtonElement>;
}
OptionalaudioEnabledIcon
audioEnabledIcon?: ReactNode
OptionalaudioDisabledIcon
audioDisabledIcon?: ReactNode
OptionalvideoEnabledIcon
videoEnabledIcon?: ReactNode
OptionalvideoDisabledIcon
videoDisabledIcon?: ReactNode
OptionalfallbackMiniCardProps
OptionalimageProps
imageProps?: ImgHTMLAttributes<HTMLImageElement>
OptionalshowWaveformWhenMuted
showWaveformWhenMuted?: boolean