There are two ways to achieve this.
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.
WordPress comes with a dedicated “Youtube” block.
And here is how you can use it.
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.
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.