Skip to content

Video

Gen UI 2.0 standard

A 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.

PropTypeRequiredDescription
urlstringYesThe URL of a video file, or of a YouTube video or short. A page on another video site shows as a link
titlestringNoNames the video for screen readers
captions{ url, language?, label?, kind? }[]NoCaption tracks of a video file
posterUrlstringNoThe image shown before the video plays
aspectRatiostringNoDefault "16 / 9"
widthnumber | stringNoDefault "100%"
maxWidthnumber | stringNoDefault "100%"
weightnumberNoflex-grow in a Row or Column