# Videos

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/writerside/llms.txt).

Videos can be a great visual alternative or supplement for long instructions.

Use the  [&lt;video&gt;](semantic-markup-reference.html#video)  element to add a local video or a video from YouTube or Vimeo.

```XML
<video src="https://youtu.be/BeJu9bMPLGU"/>
```

Local file:

```XML
<video src="sample.mp4" preview-src="preview-image.png"/>
```

[Video](https://resources.jetbrains.com/help/img/writerside/sample.mp4)

YouTube:

```XML
<video src="https://youtu.be/BeJu9bMPLGU"/>
```

[Video](https://youtube.com/v/BeJu9bMPLGU)

Vimeo:

```XML
<video src="https://vimeo.com/76979871"/>
```

[Video](https://vimeo.com/76979871)

