How to embed a YouTube video using WordPress

Share on facebook
Share on google
Share on twitter
Share on linkedin

You might be new to WordPress or you may be a seasoned blogging vet, either way, you are here because you want to know that you can insert or embed a YouTube video into your next blog post. You might want to direct more people to your new YouTube channel, or you might be referencing a certain video you saw, might be the one about the funny cat…

Let’s not get distracted

The benefits of embedding a video?

Some of the benefits of embedding a YouTube video, even just a video for that matter, include:

  • You can cross-promote your content.
  • People, in general, will prefer to watch a video over reading a long bit of text.
  • They help increase user engagement, which is a good thing.

WordPress has a great feature called auto-embed, which allows you to simply paste the URL of the video into the editor. Check it out below.

That great, but how do I get to that screen? Well if you read a bit further I will show you.

Creating a post

Once you have logged on and made it to your WordPress dashboard you will see a screen similar to the one below. You have a few options here, you can either hover over the “+ new” symbol and select new post, or you can click on the post section where the arrow below is pointing.

When you click on that you will be taken to the post library screen below. From there you can click on the Add New button as shown below.

Clicking on that will take you to the post creation page, which is where you can create your new blog post. You will be prompted to give you post a title and write in the content. If you just want to post the embedded YouTube video then all you have to do is copy the URL and past it into the body content section of your post, highlighted by the red box in the image below.

Adjusting the Embedded Video

The WordPress editor makes it easy to make adjustments to the size of the video, you can make it full width, change the alignment, add a caption among other things.

WordPress has white-listed (a list of good services) a number of video services that you can auto-embed with the editor. For other video services you will still have to obtain the embed code and then paste it into your post. Here is a list of the white-listed services:

  • Amazon
  • Animoto
  • Cloudup
  • CollegeHumor
  • Crowdsignal
  • Dailymotion
  • Facebook
  • Flickr
  • Hulu
  • Imgur
  • Instagram
  • Issuu
  • Kickstarter
  • Mixcloud
  • Reddit
  • ReverbNation
  • Screencast
  • Scribd
  • Slideshare
  • SmugMug
  • Someecards
  • SoundCloud
  • Speaker Deck
  • Spotify
  • TED
  • Tumblr
  • Twitter
  • VideoPress
  • Vimeo
  • YouTube

I will show you how to find the embed code for a YouTube video as most other video services will be the same.

Getting the Embed code

When you have found the video you wish to share on your post of page, click on the share button of that youtube video as shown below.

You will get a pop-up screen asking for how you want to share the video. Select the embed option like below.

Once you have done that, all you have to do is select and copy the HTML code, or hit the copy button in the bottom right-hand corner of the pop-up box. (not shown in the image below)

Embedding the Video into WordPress

Now that you have the embed code, head over to your post and select the add new section. The “+” symbol shown below. You will get the pop-up in as shown once clicked.

In that pop-up, scroll down and find the HTML code element. Click on that and you will be prompted to type in some code.

In this HTML element, paste the embed code that you got from your YouTube video into here.

You can then preview the post to check that the video has been embedded properly.

As you can see, both videos have been embedded properly. You can choose to add more videos or more content and then publish your post or page.


So, that’s all there is to embed a YouTube video in a WordPress blog post or on any page for that matter. Due to the auto-embed feature that WordPress provides, you can now easily add videos to your posts and pages. Of course, you can still embed videos by getting the embed code and using an HTML element as shown above.  If you would like to see more of these step-by-step guides on creating and building a website let me know.

Are you new to using WordPress and Web design? You might like reading which 7 necessary wordpress plugins that you should be using, or you could learn about what is Elementor and why you should use it on your WordPress site.

If you liked this article, then please subscribe to my YouTube channel for video tutorials, you can also find us on Instagram and Facebook.


Like what you're reading? Subscribe to our top stories.

Sign up to your newsletter

Carlos Ygoa Designs © 2019