Video
Gen UI 2.0 standardA video file URL (optional captions) or a YouTube link, privacy-enhanced: the poster shows until play. Other video sites show as a link. Set title.
One of the 69 components in CopilotKit's standardUI. The playground's catalog extends it, so every agent here can use Video. Standard catalog docs
Props
Read from standardUI.manifestComponents in the installed @copilotkit/react-core. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.
| Prop | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | The URL of a video file, or of a YouTube video or short. A page on another video site shows as a link |
| title | string | No | Names the video for screen readers |
| captions | { url, language?, label?, kind? }[] | No | Caption tracks of a video file |
| posterUrl | string | No | The image shown before the video plays |
| aspectRatio | string | No | Default "16 / 9" |
| width | number | string | No | Default "100%" |
| maxWidth | number | string | No | Default "100%" |
| weight | number | No | flex-grow in a Row or Column |