Video

A video player for a video file URL (with optional captions), or a YouTube link in privacy-enhanced mode: the poster shows first, and the player loads when the user presses play. A page on another video site shows as a link to it. Set title to name the video.

Examples

Loading examples…

Props

PropTypeDescription
urlstringThe URL of a video file, or of a YouTube video or short. A page on another video site shows as a link
posterUrlstringThe image shown before the video plays
titlestringNames the video for screen readers
captionsobject[]Caption tracks of a video file
aspectRatiostringDefault "16 / 9"
widthnumber | stringDefault "100%"
maxWidthnumber | stringDefault "100%"
weightnumberflex-grow in a Row or Column

Link to Video · All standard components

On this page