How do you embed YouTube videos in WordPress
Wordpress

How do I embed a YouTube video on my website?

How do I embed a YouTube video on my website? There are two ways you can embed YouTube videos into your post. You can copy and paste the URL of the video you want to use or you can click on share and find the HTML code for the video and embed that code into a block within your WordPress editor. Videos are huge now. People love watching videos. Where do most people go to watch videos? YouTube! YouTube has millions of videos that you can use on your blog. If you have never embedded a YouTube video before you won’t believe how easy it is.

I use the new block version of WordPress so my tutorial will be for this new version.

Let’s start.

Step one – Find a YouTube video

You have your content and you know a video will really help keep your visitors engaged.

You head off to YouTube and use the search feature to look for the video you want to use.

As an example, let’s say you have just written a post about an Osprey Farpoint 40l backpack and you want to find a video to help promote the features of this backpack.

First thing I would do is check to see if the manufacturer has a video. If anyone wants to promote Osprey backpacks it must be Osprey, right?

I typed Osprey backpacks into YouTube search and here are the results I got.

Search for videos to embed on YouTube

I was hoping Osprey would have their own channel and they do. It is the third result. I can see that they have 366 videos on their channel. Let’s have a look at their YouTube channel homepage.

How to embed YouTube videos in WordPress

Rather than searching through all those videos to find what you need. You can use the search feature.

I said I was looking for a video showing the features of a Osprey Farpoint 40l backpack. Let’s put that in the search box and see if they have something I can use.

finding a YouTube video for your blog

From the search results I can see Osprey have a video introducing their Farpoint range. More interesting for me though is the second video. It is a product tour of the Osprey Farpoint 40l backpack.

To make sure you are happy with the video click on the link and watch it through.

I have just watched the video and it is perfect for giving an in-depth overview of the backpack.

Step two – Find the embed code

Once you have the video that you need. The next thing you need to do is find ‘Share’ under the video.

How to embed a YouTube video in WordPress

You will find ‘Share’ just above the red subscribe link. Click on ‘Share’. Once you have clicked on ‘Share’ you will then see this popup box.

In this popup box you can see the first option is ‘Embed’. Click on ‘Embed’. Then you get this.

Embed YouTube video code

This is the HTML code you need to embed YouTube videos on your WordPress blog.

Don’t worry about using other people’s videos on your blog. If you are able to get this code from their video then they are happy for you to use it.

The owner of the video wants as many people to see this as possible.

I always link to the owner of the video in my blog posts to show that I am using someone else’s video.

To get the HTML code all you need to do is click on the word ‘copy’ which is on the bottom right of the popup.

Step three – Embed the YouTube video into your blog post.

Now it is time to take that copied code and embed it into your blog post.

When you open your post you need to create a new block.

To create a new block in the new WordPress editor you click on the ‘+’ symbol on the top left of the page.

You will also find the ‘+’ symbol when you hover your mouse over the space left of the word ‘start’ and on the line separating the ‘add title’ block and ‘start writing’ block.

Create a new block in WordPress

Once you click on the ‘+’ you will get this popup box.

How to create a new block in WordPress block editor

The block that you use the most will fill this popup window. The block that you need is called ‘Custom HTML’. If you do not see that in the popup then type ‘HTML’ into the search box at the top of the popup.

Once you see ‘Custom HTML’, click on it. Then you will have this block appear in your blog post.

How to embed YouTube videos in WordPress

Now you have the box where you need to put the code from the YouTube video.

All you do is paste that code into the box that says ‘write HTML…’

Like this.

I pasted the code I got from the Osprey’s YouTube channel into the box.

To make sure your code is working fine then you click on the word ‘Preview’ which is on the top of the box next to the ‘HTML’

Like this.

How to preview embedded YouTube videos in WordPress

Whenever I use a video from YouTube I always link to the owner of the video.

For example, for the Osprey video above I would type something like this.

“Here is a video from Osprey highlighting the great features of the Osprey Farpoint 40l backpack.”

As you can see I added a link to the Osprey video.

Using the YouTube URL to embed YouTube videos is easier

You also have the option of using the URL of the YouTube video you want to use in your post.

This method is much easier than embedding code.

Once you have found your YouTube video. Copy the full URL of the YouTube video.

Come back to your blog post and paste the URL into a block where you want the video to play in your post.

As soon as you paste the URL into your blog post. The editor will detect that it is a YouTube video and will display it as a video immediately.

Like this.

How to embed a YouTube video into your post using the URL

As before don’t forget to link back to the owner of the video.

Using the YouTube URL is the easiest way to embed YouTube videos into your blog post.

YouTube tutorials for embedding videos in the old WordPress editor

If you don’t like the new WordPress editor and have opted to stay with the classic editor. Then here are two video tutorials on how to embed YouTube videos in WordPress.

The first video is from WPBeginner. They have a short video tutorial on how to embed YouTube videos

The second video is from WP Smackdown. Their video is more detailed and covers three methods of embedding YouTube videos in WordPress.

Conclusion

Many people worry that using other people’s YouTube videos on your post will get you into trouble. That couldn’t be further from the truth.

Video owners want their videos to be seen by as many people as possible. That is why they have the share option on their videos.

If they did not want people to use their videos then they would not have the share option available.

If you are a blogger then using videos in your blog is important. It helps keep your visitors engaged.

Many types of people will visit your site. Those that like to read, those that like to watch videos, those that like images, and those that like a mixture.

If you can produce blog posts that offers something for everyone then you have a great opportunity to keep visitors on your site for longer. Google loves that.

If you are Google friendly, then Google will show your site in search results.

If you want to track your rankings in Google and Bing. Check out my ‘How to check what keywords your website ranks for in Google and Bing‘ post.

Frequently asked questions

Can you embed videos in WordPress?

Yes, you can. I use the new Gutenberg version of WordPress. This version allows you build your site using blocks.

The blocks allow you to design and place things within you website as you like.

One of these blocks allows you to embed videos into your WordPress blog. Or you can just paste the URL of the YouTube video you want to use straight into your post.

Follow my step by step guide above and you will see how easy it is to embed videos.

Can I embed YouTube videos on my website?

Yes, you can. A lot of people worry that you are not allowed to use YouTube videos made by other people on your website.

If the YouTube video that you want to use has a share button underneath. Then that means that the owner is fine with you using it on your website.

YouTube video owners want their videos to be seen by as many people as possible. They are happy that you want their video.

I would always recommend that you link back to the owner of the video before or after you embed the video.

I show an example of linking back in my post above.

What does it mean to embed a YouTube video?

Embed means that you can take a video that is available on YouTube and have it play in your blog posts.

Your visitors can enjoy watching YouTube videos in your posts without having to go to YouTube.com.

To embed a video from YouTube you need a little code or the URL of the video.

In my post above, I have a step by step guide with illustrations on how to embed YouTube videos in WordPress.

Where do you embed YouTube videos?

When you are creating your blog content it is up to you where you embed your YouTube video into your content.

I love using the new block editor in WordPress. It allows you to build your site with blocks. These blocks can be moved up and down as you want them.

You use the block designed for embedding YouTube videos into your post.

If later you want to move the video up to a new position within your post. Then you just click the up arrow on the left of your video. It is as easy at that.

How can I upload a video to WordPress?

In the new WordPress there a block for everything.

If you want to upload a video to your WordPress blog post then you click on the ‘+’ symbol on the top left of your WordPress editor to start a new block.

Type ‘video’ into the search box and you will see an option for video. Click on ‘video’ and you will create a block for uploading videos.

Is there a WordPress embed YouTube video plugin?

There probably is. Why would you need one when you have the options to embed videos in the WordPress editor?

Try to use as few plugins as you can. Some plugins will result in your website loading slow.

Just use the plugins that you need and no more. If you find you don’t need a plugin anymore. I would recommend you delete it completely rather than just deactivating it.

The same goes for WordPress themes.

Keep your website light. Delete unused plugins and themes.

Comments

Do you embed YouTube videos in your blog posts?

Do you use other people’s video or do you make your own?

Which method do you prefer to embed YouTube videos on WordPress?

I really look forward to reading your comments.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.