How to embed a video from Youtube or Vimeo
How to embed a youtube video
There are two ways to achieve this.
1) Directly paste the youtube video URL inside the Block editor
For example, copy this Youtube URL about Invoicing:
https://www.youtube.com/watch?v=O6qtAT_SnIM
And paste it inside the Block editor using CTRL + V
on Windows or CMD + V
on MacOS.
2) Using the “Youtube” block
WordPress comes with a dedicated “Youtube” block.
And here is how you can use it.
Step 1: Add the “Youtube” block to the editor

If you notice, there is a text field called “Enter URL to embed here…”
It would be best to paste the Youtube URL here and then click the “Embed” button.

That’s all it takes to embed a Youtube video.
How to embed a Vimeo video
But with Vimeo, sometimes, the direct copy-and-paste strategy doesn’t work.
It is advised to use the “Vimeo” block for a reliable embed.

That’s all you need to know about WordPress block editor for now.
In the next lesson, we will conclude this module.