Adding YouTube videos to your website through WordPress can be a great way of expressing a point your are discussing in your blog, create humor, or spark new interest with your online audience.
Today I will show you how to easily embed YouTube videos in WordPress in less than 45 seconds.
Got the clock ready, here goes.
How to Embed YouTube Videos in WordPress:
1). Add Your Video to YouTube:
Locate your video that you would like to add from YouTube.
2). Once you’ve got your video added to YouTube, let’s now add it to your WordPress website.
Look below the YouTube video title and you’ll see the options to Share, Embed or Email the video.
- Just click on the embed link
- Copy the html code
- And make sure all the other options below the video size or unchecked.
That way your readers won’t be directed back to another YouTube Video and away from your site after they watch your video.
Follow Steps Below to Copy Your YouTube Video:
Placing Your Video Into WordPress:
Now that you have your html YouTube code. Go into your WordPress post and switch from the Visual Editor to the Text Editor. This is where your “html code” will be placed.
Now just find where you want to put the video and paste your YouTube link. Once you switch back to the Visual Editor, you will see a grey blank box where your video will be placed once you publish your page or post.
For example with this post here. I placed the video in my Text Editor as shown below.
- Notice I put the code before and after the YouTube code.
The reason we want to do this is to avoid having our text run into the video. Here we add more spacing between the text above and below the video to allow for a better user experience and presentation.
How to Center YouTube Videos in WordPress:
This is also quite easy to do just by editing the YouTube code after we have placed it in our Text Editor.
For example, in my YouTube video below. I just take the code and add to the front and end of the code; 2 angle brackets, a forward slash and the world center.
It looks like this:
And I add it to my original code.
Here’s my original code.
<iframe width=”853″ height=”480″ src=”//www.youtube.com/embed/jG_oOPcXGOM?rel=0″ frameborder=”0″ allowfullscreen></iframe>
And here is my updated code so that it will center on my webpage.
</center><iframe width=”853″ height=”480″ src=”//www.youtube.com/embed/jG_oOPcXGOM?rel=0″ frameborder=”0″ allowfullscreen></iframe></center>
Why Center Your Video?
By centering your YouTube videos on your own website, you’ll give your site a more professional appearance. If you don’t, it’s not that big of a deal. But your videos will line up to the left side of your website like text does. Your call.
Here’s the final results of adding my video into this WordPress post.
I have it centered and spaced so that it has a nice clean professional appearance in my site.
The video is a compilation video of Amazing People – It’s Pretty Cool!
Hopefully it will inspire you to see what amazing physical skills people can develop when they put their mind to it. Enjoy!
Also, if you would like to learn how to create video from your computer screen, check out this linked post.
After understanding these easy steps to put YouTube videos on your WordPress website, I think it takes a little less than 45 seconds to complete.
Once you’ve done it a few times, it’s super easy.
Know you know how to embed YouTube videos in WordPress, go out and start embedding.
If you have any questions or comments to add, please feel free to leave a message below.
Leave a Reply