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>
waveformContainerProps?: HTMLAttributes<HTMLDivElement>
waveformBarStyle?: CSSProperties
waveformBarProps?: HTMLAttributes<HTMLDivElement>
waveformHeights?: { silent?: number; active?: number }
waveformDurations?: number[]
waveformBarCount?: number
renderWaveformBar?: (
options: {
index: number;
isActive: boolean;
height: number;
style: CSSProperties;
props: HTMLAttributes<HTMLDivElement>;
},
) => ReactNode
OptionalcontrolsOverlayProps
controlsOverlayProps?: HTMLAttributes<HTMLDivElement>
controlButtonProps?: {
audio?: ButtonHTMLAttributes<HTMLButtonElement>;
video?: ButtonHTMLAttributes<HTMLButtonElement>;
}
OptionalaudioEnabledIcon
audioEnabledIcon?: ReactNode
OptionalaudioDisabledIcon
audioDisabledIcon?: ReactNode
OptionalvideoEnabledIcon
videoEnabledIcon?: ReactNode
OptionalvideoDisabledIcon
videoDisabledIcon?: ReactNode
OptionalfallbackMiniCardProps
OptionalimageProps
imageProps?: ImgHTMLAttributes<HTMLImageElement>
showWaveformWhenMuted?: boolean
OptionalisDarkMode
isDarkMode?: boolean
OptionalliveSubtitle
liveSubtitle?: LiveSubtitle | (() => LiveSubtitle | null) | null
OptionalshowSubtitles
showSubtitles?: boolean
Live subtitle for displaying translated speech