AI Integration Quick Reference
AI Integration Quick Reference
Overview
CometChatVideoBubble renders the video attachment(s) of a media message. It is self-extracting: pass the SDK message and the bubble derives the video URLs, thumbnails, caption, and alignment itself, so it works standalone. A single video shows its thumbnail as a poster with a play overlay; multiple videos lay out in a grid with an overflow tile.
Live Preview — interact with the video bubble.Open in Storybook ↗
Usage
Props
message
The media message. Drives extraction of video attachments, thumbnails, caption, and sender name. Required.alignment
Override incoming/outgoing alignment. Defaults to sender-vs-logged-in-user.textFormatters
Text formatters for caption rendering (mentions, URLs).className
Additional CSS class applied to the root element.CSS Selectors
Next Steps
Video Plugin
Plugin behavior, context menu, and conversation preview
Image Bubble
Render image attachments
Message Bubble
The wrapper that hosts bubble content
Theming
Customize colors, fonts, and spacing