YouTube videos are a great way to enliven your site. Here’s how you can easily use them in your posts and pages, as well as in your widget areas.

YouTube is by far the most popular video sharing platform, with 300 hours of content uploaded every minute. WordPress makes it easy for you to harness this incredible content source and show YouTube videos straight into posts and pages. In this post, we’ll show you everything you need to know.

Select your YouTube video

Adding YouTube Videos To WordPress
Adding YouTube Videos To WordPress


Before you can show a YouTube video on your site, you need to find the video you want to add.


You’ll then need to click Share and copy the video URL (as shown above). If the video you’ve selected is part of a playlist you’ll have the option to show just the current video (untick the playlist box), the whole playlist and whether to show from the start of the playlist or the current video.

Add a YouTube video to a WordPress post or page

Now head to your WordPress Dashboard. You can create a new post or page, or edit one already created. The process is identical for posts and pages, so it doesn’t matter which you’re using.

Your video will need to be on a new line, so if you’re adding a YouTube video to already-existing content, hit return where you want the video to go.


Paste in the YouTube video URL you just copied on the new line. There’s no need for the URL to be a hyperlink (linking the URL will stop the video from showing) – literally just the link you copied from YouTube is all you need.

If you have the free Jetpack plugin installed you’ll get an instant preview of the video. Otherwise, save your post or page as a draft (or update for already-published) and you’ll get the full preview displaying. Publish or update your post or page and you’re all done!

Manual WordPress video embeds

Video Embed Code
Video Embed Code


If the magic pasting of the video on a single line doesn’t work or you want more control over YouTube’s video player, you’ll need to embed the video manually.

Fortunately, WordPress makes this easy.

Again, find the video you want to embed on YouTube. This time, however, select the Embed tab below the video and then Show More. You now have some extra options you can customise:

  • The width of the video player (choose from pre-sets or use a custom size).
  • Toggle show suggested videos when video finishes.
  • Toggle YouTube player controls.
  • Toggle showing video title and top-right sharing links.
  • Turn on privacy-enhancing mode.

You can also manually customise parameters. Google shows all the options available here.


Once you’re done customising any options, copy the embed code (you’ll find it starting <iframe...).

You can now paste your embed code into your WordPress post or page. This part is a little different to pasting the URL: you’ll need to go to Text mode on the WordPress editor. This lets you add some HTML, including YouTube embed code.

Again find where you want to add your video, but this time add two line breaks – so there’s one either side of where you will show your video. Paste the embed code in the middle line and switch back to the Visual tab. You’ll now see a preview of your video. Update or publish your post and you’re done!

Add really good video content

Adding YouTube videos to your WordPress site is a really powerful way of keeping visitors better engaged and on your site longer. With the two methods shown here, we’ve equipped you to do just that.

Share This Post

Leave a Reply

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

Name *