---
title: "Video"
subtitle: "<Video> embeds local files or YouTube, Vimeo, Loom and other hosted videos."
---

For more on image paths, sizing, and asset copying, see [Images and media](../writing/media.mdx).

Video files use the native player; YouTube, Vimeo, and Loom links are converted to embedded players automatically:

```mdx
<Video src="/assets/demo.mp4" poster="/assets/poster.png" />
<Video src="https://www.youtube.com/watch?v=VIDEO_ID" title="Product demo" ratio="16/9" />
<Video src="/assets/loop.mp4" autoplay loop controls={false} />
```

<ParamField path="src" type="url" required>A video file or a YouTube / Vimeo / Loom URL.</ParamField>
<ParamField path="poster" type="url">Poster image.</ParamField>
<ParamField path="title" type="string">Accessible title.</ParamField>
<ParamField path="controls" type="boolean" default="true">Show the controls.</ParamField>
<ParamField path="autoplay" type="boolean" default="false">Autoplay (muted automatically; `autoPlay` also works).</ParamField>
<ParamField path="loop" type="boolean" default="false">Loop playback.</ParamField>
<ParamField path="muted" type="boolean" default="false">Muted.</ParamField>
<ParamField path="ratio" type="string">Aspect ratio of the embedded player, e.g. `16/9`.</ParamField>
