How to Embed a Youtube Video in WordPress | WordPress Tutorial
Category: WordPress Tutorials
Embedding Youtube videos in WordPress posts and pages is simple. Here’s a quick method… and an even quicker method! You’ll see what I mean in a second…
Embedding Youtube videos in WordPress pages and posts is extremely easy. In the past, you needed to copy the Youtube embed code to insert the iframe into your post. Otherwise, you needed a plugin that would give you a shortcode which you can then enter the Youtube video URL into in order to embed it on your site. Yuck. Those methods were tedious.
With the new Gutenberg editor, there’s a Youtube embed block that allows you to simply paste the Youtube video URL into the block to auto-embed it in your post or page. Even better, you can skip the Youtube embed entirely and paste the video URL into an empty block. WordPress will auto-detect the Youtube domain in the URL and create an embed for you. It really couldn’t be easier.
That’s how you can embed a Youtube video in WordPress without a plugin or shortcode.