Create video card
create_video_cardRender a chat card embedding an HTML video player for short clips. Requires a direct mp4/webm URL, data URI, or blob URL to play the video.
Instructions
Render a card with an HTML video player for a short clip. src must point straight at a video file (mp4/webm): a direct http(s) URL, a small data:video/* URI, or a blob: URL. Streaming platform page URLs (YouTube, Vimeo, Twitch, TikTok, and similar) are REJECTED, because a video element pointed at a player page renders a card that can never play. When no direct video source exists, use create_animation_card to generate an animated clip instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | Yes | Direct http(s) URL to a video file, a data:video/* URI, or a blob: URL | |
| loop | No | ||
| muted | No | ||
| title | Yes | ||
| poster | No | Still image shown before playback: http(s) URL or data:image/* URI | |
| autoplay | No | Start muted playback on render | |
| subtitle | No | ||
| description | No | ||
| contextActions | No | Right-click menu actions the model anticipates being useful. Choosing one sends its prompt to the conversation; use {{selection}} to include the user's selected text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| parts | Yes | Split state, present on EVERY card result so one completeness check works for all card types. Cards that cannot split always report {current:1,total:1,hasMore:false}; create_markdown_card and create_code_tour_card pack oversized content into parts and can report more. Read hasMore rather than the card title to decide whether content was withheld. |