Embedding YouTube in WordPress

Would you like to know how to embed media in your WordPress blog? It’s fairly straight forward, but there are a few steps you must take to be successful. Here we explore how to do this with a YouTube video example.

Your first step is choose the content you wish to embed. Many media services have embed code available to you. In this example, you will access the embed code by pressing the “Embed” button on the bottom right of the web page.

Find the content you wish to embed

Next, it will be time to select your options. In this example, I have chosen the following:

  • Not to include related videos. This prevents a bunch of other videos showing up after people watch the one I selected.
  • I am showing a border (I choose the red color scheme).
  • Privacy mode is enabled, which controls how YouTube stores cookies on my guest’s computer.
  • I am not using iframe code (not compatible with all browsers).
  • I’ve chosen a size of 500 x 405 pixels.

Choose your options

Once you’ve selected your options, you copy the code in the box.

To paste it into your blog post you must be in HTML view. If you paste embed code while in visual mode, it will not work.

Paste in HTML View

After you have entered the embed code, you can go back to visual view and add text around the place holder for your video, which shows up as a yellow box.

Visual Preview

The end result: here is the video!

Tags: , ,

Post Author

This post was written by who has written 7 posts on James R Lee (dot info).

James Lee is self described as an MBA with a camera. You may find him at those links, or here's another place to find James.

No comments yet.

Leave a Reply