How to embed a YouTube video into your WordPress blog

This may seem like a beginner tip to many of you long-time WordPress bloggers, but the first time that I tried to embed a YouTube video into my WordPress blog, I couldn’t figure it out. (If you don’t want the back story, just skip to the end of this post for the how to.)

Here’s what I did. I am sure that many first-time video posters can relate. I went to YouTube, found the video that I wanted to include, pulled the code from the “embed” area, switched to “code” from “visual” mode in the WordPress editor, and pasted the code. This didn’t work. It displayed an empty box where the video should be, with the broken link x. Broken image

I then proceeded to search through the WordPress manual and help forums for about an hour and still had no luck. I finally found this site, which provided me with the answer.

HOW TO EMBED A YOUTUBE VIDEO INTO YOUR WORDPRESS BLOG:

  1. Click on the “Users” link in the Admin area of your WordPress blog.
  2. If you have multiple users, click “edit” next to your profile.
  3. Turn off the “Use the visual rich editor when writing” feature.
  4. Write your post. You’ll see that the options for “visual” and “code” are gone. You can now paste the YouTube embed code into the post and it will display perfectly.

One word of caution – you can’t switch back to using the visual rich editor after you paste the YouTube code or you’ll have the same problem. You need to publish your post before switching back to the visual editor.

Just for fun, here’s a video about blogging that I found thanks to Penelope Trunk’s Brazen Careerist blog.

 

Tags: , , , , ,

Related Posts