how to embed YouTube video into Wordpress

How to Embed YouTube Video Into WordPress – One of the Best Ways To Improve SEO!

This is a fact: People love video. According to FortuneLords, YouTube has 1.3 billion videos to date. The reason behind this? We are in the digital video age and visual stimulation is where it’s at. If you’re a blogger and you want eyes to stay on your page longer, you need to know how to embed YouTube video into WordPress blog posts. End of story.

Having video on your page has many benefits. First, it will improve your bounce rate by keeping eyes on your content longer. This is one of many ways to get more traffic to your blog.

In this post (and video), I’m going to quickly and easily show you how to embed YouTube video into WordPress. No matter how little experience you have building a website, consider this hurdle a thing of the past. “How do I embed a video in WordPress?" Read on and learn how.

how to embed YouTube video into WordPress

How To Embed YouTube Video Into WordPress

Watch the short video tutorial below and follow its easy steps to learn how to embed YouTube video into WordPress. Once you learn this process, you’ll be embedding videos into your posts in no time.

Easy Steps to Follow

YouTube makes it very easy to embed video into your WordPress blog post. Whether it’s a video of your own, or a video published by someone else, the steps are the same.

First, find the video you’d like to embed.

Once you’ve figured out which video you’d like to embed, click on its “share" arrow and some options will open.

how to embed youtube video into WordPress

From these options, click on “embed" to get the CSS code.

Don’t worry about the highlighted url that pops up under the “share" option. That’s not what we’re after today. Move right on over to “embed". This gives you the CSS code you’re going to need to copy to embed the video into your web page. CSS simply stands for “Cascading Style Sheets“. This fancy code helps set the visual presentation for your web page.

how to embed youtube video into WordPress

Copy this highlighted CSS code and take it over to the  post where you’d like to embed the video.

With the CSS code copied, all you’ll have to do is go into the text editor of your post and paste this code where you’d like the video to appear. It’s really that easy.

how to embed youtube video into WordPress

Update your post and you’re done.

You can now say you know how to embed YouTube video into WordPress. You can add some more basic CSS code to the embed code if you’d like to center the video, but that’s just personal preference and covered in the video above.


Video is a great tool to have in your tool belt. Understanding how to embed YouTube video into WordPress will help build your site into an authority site over time. Want to optimize your YouTube videos so they rank high? Check out these YouTube SEO marketing strategies to get them the traffic they deserve.

There are many other elements of building a website that come into play when you’re looking to rank high with Google. From understanding internal linking vs external linking, what backlinks are used for, and many other elements, creating a great user experience for your reader is very important if you’re looking to build traffic to your site and ultimately create some revenue.

If this is your goal, I highly suggest creating your free account with the training platform I learned from. Internet business is a huge industry and there is plenty of cash to go around. All you need is a laptop and the right training platform.


What questions do you have for me? Do you understand now how to embed youtube video into WordPress better? Are you going to put this new skill to practice with your next post?

Embed one of my videos into a post of yours and show off your new skill! I’d love to see it! Leave your link below to your post with any of my videos embedded in it and I’ll show some love on your article and give you a high five!

As always, if you enjoyed this article, please share it to your social networks. Now go embed some videos!


  • Melani says:

    Hi Eric. Definitely I will try your tips in my website. I think it will be nice to put how to cook a recipe video in my baby website 😃😃. Thank you for writing this very useful article and look forward to your next tips.

    • Eric Cantu says:

      Hey Melani! I think adding a cooking video to your post would be a great idea! Cooking videos are EXTREMELY addictive! And it’s truly the best way to learn how to cook a simple recipe and every foodie (including myself) loves watching videos of food being prepared. I’m glad this was able to help you! Thanks for the comment!

  • Deep says:

    Never realized it was that easy to put a video on my website, I am glad I came across this post because I have plenty of good videos that I want to incorporate into my posts, so thank you.

  • IllusiozTan says:

    Thanks Eric for sharing about this.I agree with you, adding a video into a blog post will help in boost up the traffic. I wonder any way to find out and compare the traffic drawn by the blog post and the traffic drawn by the video. If this comparison can be made, then I believe it will help to know whether we are using a correct video on our post

    • Eric Cantu says:

      I think it all boils down to user experience. Whether or not traffic was drawn to your site by the video or not doesn’t matter so much to me. It’s all about creating a user experience that the reader wants more of. This makes them stay longer and click on more of your posts. This repeated process raises your rank and will thus build traffic. And with this increased traffic comes the opportunity for revenue. Thanks for your great insight!

  • Gedas says:

    Thank you for your post! Now I will know how to insert a video in my posts. By the way, what do you think about gifs? What power they have? Maybe you can even make a blog post about this I would love to read about them because I think they can make posts come to live!

  • Justin says:

    Hey Eric,

    Thanks for posting this about how to embed YouTube vids into WordPress! I have a site where I have embedded other stuff, like google forms, my calendar, and even a Vimeo video, but not from YouTube yet. This is very helpful for when I get my YouTube channel set up! I definitely agree that video is the new trend!

    • Eric Cantu says:

      A lot of people had asked me “how do I embed a video into a blog?” and so I decided to put this up. It’s so much easier than most think. Glad you enjoyed it. Thanks for the comment1

  • Jonathan says:

    Thanks for the lesson. I find it helpful. I have been blogging for some time now, I think my website bounce rate if high at 77% and I need to improve it. Practicing what is in this training will sure help me.

    However, Eric Cantu, I have a question apart from YouTube videos, do all videos have the option to embed?

    Any yet another question suppose I am using a video from an Affiliate, where do you add your Affiliate ID?

    Thank you. I am looking forward for your answers soon.

    • Eric Cantu says:

      Hey Jonathan! Yeah 77% is a high bounce rate. There are several good ways to improve your bounce rate, including using the right blog post structure to engage your readers right away. Video can help lower that bounce rate by keeping eyes on the page longer.

      Most all videos, like those from Vimeo, etc., have the option to embed. If you’re doing affiliate marketing, most of the time the affiliate id will be included in the video you’re embedding or you’ll be able to include it by clicking on a certain option on the page.

      Great questions, Jonathan. Hope that helped!

  • Louise says:

    This was just what I needed to read so thanks for this article! I have been thinking about putting youtube videos into my articles for a while and this has convinced me that I should really get on and do it, especially as it seems so simple.

    Are there any restrictions on the videos too can use and do you have to reference any copyright etc?


    • Eric Cantu says:

      The best part about video is that the author of the video sets it’s usability when they upload it. By default they can all be shared, but if the author of the video doesn’t want it to be shared, then the share button will not be available and this code won’t be available to you. So feel free to share away! That’s what youtube is for so take full advantage of it!

      Thanks, Louise!

  • Arief Wibowo says:

    Hi Eric,
    I usually use Embed Responsively to help me post a responsive YouTube video. Sometimes the code from YouTube doesn’t work properly (responsive wise). The website is
    It is so easy. You just copy your video link and put it in the website and they will create a new code. Just like the CSS code from YouTube but this one will be responsive.

    Have you ever try it?

    • Eric Cantu says:

      I haven’t tried it myself. The reason that some Youtube videos end up not being responsive from mobile (video appears too large or is cut off) is due to the theme you’re using, not so much the video’s code. My theme is responsive and the youtube videos look fine on mobile so I haven’t needed to use it. But it’s a great idea if you notice your YouTube videos are cut off when you’re checking them out on mobile and you don’t want to change themes. Good point. Thanks for the comment!

  • Great post Eric,

    I like to embed videos in my posts but wasn’t aware of how to do the spacing or centring. I really love the spacing idea, simple but very effective.
    Great video too, you explain the process really well. I am going to jump onto my site now and work on the spacing. It looks so much better. I have wordpress and use Youtube so I will follow your video step by step. Sounds great. Thanks for a great post,


  • Matthew says:

    Hi Eric
    You have made this so simple to do and I have been wondering about how to do this for ages. I didn’t realise how easy it was.
    I have my own website but wasn’t sure if I was allowed to put a video on there.
    Can you put any video from YouTube onto a personal website or have you got to own said video?

    • Eric Cantu says:

      How’s it going, Matthew. You can use any video on YouTube. When you can use your own, it’s great, because if your reader clicks on the video to see more videos, you’re getting exposure to your YouTube content that way as well. And yes even if you use video by someone else, you’re really giving them free exposure too. So feel free to use any relevant YouTube video you like (especially if they’re mine) lol.

      Thanks for the comment, Matthew!

  • I’ve seen another way to put a youtube video in a post in wordpress where you copy the url address of the youtube video, then go the post and click “add media” button, then click the “insert from url” button and in the empty field that opens, paste the url and save. I guess now that I think about it, it’s the same thing lol. Going to YouTube, copying some code or in this case a url, then going over to WordPress to paste it. Have you seen this method?

    • Eric Cantu says:

      How are you doing, Daniel! There’s also an ultra simple way where you simply go to the text editor and in a line by itself you enter the url of the video and when you update the post, WordPress will have automatically put in the embed code for you. But this way I’m showing in the video here is the correct and simple way using the embed code.

      Shortcuts are great, but when you see just how simple the actual steps are to embedding a youtube video into a WordPress blog post as shown above, it gives you that much more confidence moving forward 🙂 And yes I’d agree that the way you mentioned in your comment is a “shortcut” that uses the same amount of steps as the regular way, lol. Might as well do it right, right? Take care, Daniel!

Leave a Reply

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