# How to Embed a Youtube Video in WordPress

- Link: https://wpbarista.com/how-to-embed-a-youtube-video-in-wordpress/
- Published: 2016-01-20T12:19:15-08:00
- Author: Cathy Mitchell

I seem to get requests for a plugin to embed videos, quite often.  First – we all
know that more plugins does not equal better, right? In case you haven’t heard me
say it a million times yet – each plugin poses an extra security risk. We will cover
how to secure your site during our security week (week 9). So, my recommendation
is do not use a plugin unless you must.

![10yr-weekly-post-image-wk3](https://i0.wp.com/wpbarista.com/wp-content/uploads/
2016/01/10yr-weekly-post-image-wk3.jpg?resize=1024%2C536&ssl=1)

In this case, it is unnecessary. Embedding youtube videos (and vimeo and a number
of other ones is already built into WordPress). In this tutorial, I’ll show you 
how to do that.

![](https://i0.wp.com/wpbarista.com/wp-content/uploads/2016/01/HOW-TO-EMBED-A-YOUTUBE-
VIDEO-IN-WORDPRESS-2.jpg?resize=735%2C1102&ssl=1)

If the written word isn’t your thing, here’s a nifty screencast. Ironic, right?

## WordPress Tutorial: Embed Youtube Video in WordPress

Step 1: Go to youtube and copy the link from the _browser window. _Somewhere in 
the url there should be the word, “watch” in it.

Step 2: Paste that link into your post like this:⌊youtube embed-3⌉

It should automatically convert to this:

![youtube embed - 2](https://i0.wp.com/wpbarista.com/wp-content/uploads/2016/01/
youtube-embed-2.jpeg?resize=960%2C516&ssl=1)

If it does not, do not fret! This is a very common problem. I must get 10+ questions
on this every week. The only reason it does not work is if there is something else
on the same line as the link. Even a blank space will cause issues in rendering 
the video.

Step 3: Fix it!

![youtube embed 4](https://i0.wp.com/wpbarista.com/wp-content/uploads/2016/01/youtube-
embed-4.jpeg?resize=821%2C511&ssl=1)

Simply put your cursor at the front of the “h” in the link and hit [backspace] a
bunch of times.  You should now be at the front of the line. Then click on the [
end] button on your keyboard so the cursor is now at the very last character of 
the link, and click [return]. Your link is now on its own line. To test this, click
the [preview] button in the publish box – it will open a new tab, that will look
like this:

![youtube embed preview](https://i0.wp.com/wpbarista.com/wp-content/uploads/2016/
01/youtube-embed-preview.jpeg?resize=729%2C497&ssl=1)

### This Week:

[list style=”style6″]

[li]Monday: Giveaways[/li]
 [li]Tuesday: Client Featurette & Free Download [/li][
li]Wednesday: How to embed a Youtube Video in WordPres <- you are here[/li] [/list]

 * [  Email ](https://wpbarista.com/how-to-embed-a-youtube-video-in-wordpress/?subject=%5BShared%20Post%5D%20How%20to%20Embed%20a%20Youtube%20Video%20in%20WordPress&body=https%3A%2F%2Fwpbarista.com%2Fhow-to-embed-a-youtube-video-in-wordpress%2F&share=email)
 * [  LinkedIn ](https://wpbarista.com/how-to-embed-a-youtube-video-in-wordpress/?share=linkedin)
 * [  X ](https://wpbarista.com/how-to-embed-a-youtube-video-in-wordpress/?share=x)
