# Embedding YouTube and Vimeo videos

[Canonical article](https://slides.com/docs/youtube-vimeo-videos)

Play YouTube and Vimeo videos directly in your presentation with an [Iframe block](/docs/iframes).

1. Copy the video&#39;s URL from YouTube or Vimeo.
2. Add an **Iframe** block in the editor.
3. Paste the URL into **Iframe Source**. Slides converts it to an embed URL automatically. You can also paste an embed URL or the full iframe embed code.

&lt;img src=&quot;https://static.slid.es/help/youtube-vimeo-videos/iframe-block-2x-a08b501b.png&quot; alt=&quot;Iframe block highlighted in the editor block picker&quot; width=&quot;920&quot; height=&quot;620&quot;&gt;

&lt;img src=&quot;https://static.slid.es/help/youtube-vimeo-videos/iframe-source-2x-6c6b794a.png&quot; alt=&quot;Iframe Source field for a video URL or iframe embed code&quot; width=&quot;920&quot; height=&quot;620&quot;&gt;

For example, paste this Vimeo embed code into **Iframe Source**:

```html
&lt;iframe src=&quot;https://player.vimeo.com/video/93361282&quot; width=&quot;500&quot; height=&quot;313&quot; allowfullscreen&gt;&lt;/iframe&gt;
```

You need an internet connection to play embedded videos, and the video must allow embedding. To upload a video file instead, see [Videos](/docs/videos).
