Skip to content

Video

By default the video shows the browser’s own controls. background makes it muted, looping and inline with a visible pause button, and leaves it on the poster frame under reduced motion.

  • src: video URL (required)
  • label: accessible name for the video (required)
  • poster: image shown before playback
  • background: muted autoplaying loop with a pause button
  • ratio: natural, square, landscape, wide (default), cinema
<Video src="/media/flower.mp4" poster="/media/flower.jpg" label="A flower opening" />
background with ratio="cinema"