Optional
customCustom styles for the card container
Participant's display name
Optional
barColor of the audio waveform bars (default: 'white')
Optional
textColor of text overlays (default: 'white')
Optional
imageURI for participant's avatar image
Optional
roundedWhether to display avatar with rounded corners
Optional
imageCustom styles for the avatar image
Controls & Info Properties:
Producer ID for the video stream
Type of event ('conference', 'webinar', 'broadcast', etc.)
Whether to force fullscreen display mode
Styling Properties:
Video MediaStream object (null for screenshare or when video is off)
Optional
showWhether to show media control buttons
Optional
showWhether to show participant info overlay
Optional
videoCustom component for info overlay
Optional
videoCustom component for controls
Optional
controlsPosition of controls overlay
Optional
infoPosition of info overlay
Audio Visualization:
Complete participant object with metadata
Optional
backgroundBackground color (default: '#2c678f')
Optional
audioAudio level data for waveform animation
State Parameters:
Optional
doWhether to mirror the video horizontally
Image/Avatar Properties:
State and context parameters for the card
Custom UI Override:
Optional
customCustom render function for complete card replacement. When provided, this function receives all VideoCardOptions and returns a custom JSX.Element. This allows full control over the video card's appearance and behavior.
Advanced Render Overrides:
Optional
styleAdditional style object for the container
Optional
renderFunction to wrap or replace the default card content while preserving container
Optional
renderFunction to wrap or replace the entire card container
Interface defining the options for the VideoCard component.
VideoCard displays a participant's video stream with optional controls, info overlay, and audio visualization waveform.
VideoCardOptions
Core Display Properties: