How to add a YouTube video to WordPress - LearnWP

How to add a YouTube video to WordPress

3 Easy Steps to add a YouTube Video on a Page
3 Easy Steps for Adding a YouTube video to WordPress

Step 1: Go to the YouTube video you want to embed and click on Share under the video

Step 2: Copy the Share link

Step 3: Open your WordPress page or post and paste the share link onto its own line where you want it to appear. Then click Save Draft

Voila… You should see the video in the visual editor in the back end of WordPress.

Watch our YouTube Video Tutorial

Troubleshooting: My video isn’t displaying in WordPress!

If the video isn’t displaying in the visual editor switch from the Visual editor to the Text editor to view the HTML code. Make sure the share link URL is on its own line and not hyperlinked (clickable when viewing the post).

Also, make sure that you are using the latest version of WordPress. This feature was added to WordPress 4.0

How to stop related YouTube videos from showing in WordPress

YouTube Tip: How to turn off related videos in WordPress

At the end of the YouTube share link add ?rel=0 

A Responsive Video Plugin

If you are going to add a number of videos to your site you may want to use a plugin. We recommend using the Responsive Video Light plugin. With this plugin, you can tick a box to turn off related videos and control some styling. It works with Vimeo as well as YouTube.

Related Posts

If you liked this post, you might also be interested in one of these.
Getting over your blogging discomfort
Build your static web copy simply

4 thoughts on “How to add a YouTube video to WordPress”

  1. The video is NOT showing up in the preview post… I’m worried about publishing it and having to remove it again. Any way to get it to show in preview? I’ve tried both using the iframe code, and using the automatic WP embed (just putting the link on a separate line…)

    Any help is greatly appreciated!

  2. Thanks for this post. The problem I’m having is that the iframe does *not* show up in the preview. It shows up after you publish, but not in the preview.

    You mentioned you are able to get it to display in the preview. Are you doing anything special to make that happen?

    Thanks,
    Mike

    1. Hi Mike, Sorry if this wasn’t clear… you aren’t previewing it in the visual editor. I mean Preview the post in the front end of the site.

Leave a Comment

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

Scroll to Top