How to Embed YouTube Videos in your WordPress Post

YouTube Logo

As the internet moves more and more towards displaying multimedia, embedding videos in your WordPress post is something that people want to do more and more. It’s always been fairly easy to embed a video into WordPress, but since version 2.9 (we’re now on version 3.0.1), it’s been made incredibly easy by a process called oEmbed.

Essentially, all you need to do is paste the URL of the video page on its own line with nothing else on it and if the video hosting site is on WordPress’ whitelist of video providers, the video will be embedded. As it stands, the list of whitelisted providers is as follows, which includes all the major players:

  • YouTube
  • Vimeo
  • DailyMotion
  • Flickr (both videos and images)
  • Viddler
  • Hulu
  • Qik
  • Revision3
  • Scribd
  • Photobucket
  • PollDaddy
  • Google Video
  • (only VideoPress-type videos for the time being)
  • SmugMug (WordPress 3.0+)
  • (WordPress 3.0+)
  • If for some reason, you are trying to embed a video from a site not listed above, you have the option of locally adding a provider to your own whitelist by following WordPress’ instructions. This requires some PHP knowledge to implement.

    And to show you how this works, I have posted the URL of the video tutorial in the line below. It’s as simple as that.

    5 thoughts on “How to Embed YouTube Videos in your WordPress Post”

    1. Alex says:

      Haha. That is one of my favorite videos ever. On topic: Thanks for the list of whitelisted video sites. I have been trying to figure out why my video wasn't embedding from my own video site and I guess that is why. I'll have to look for a plugin now. Thanks again!
      My recent post Acoustic Guitar Straps

    2. Maybe that was nice and great for those people who wants to make their blog site more attractive because sometimes, putting a video to your blog site can easily attract reader. It was also nice to have something new to see in your blog for some refreshment in our eyes and putting a video on it is one of the coolest thing you should do.
      My recent post ROR Sitemap for http-wwwcaliforniaduihelpcom-

    3. Leslie says:

      The it in wordpress now or do I need to add it as a plug-in. I did as you said, copy and paste, but I just get the url linkage, not the video. It’s a You-tube vid. I think I’m being dense.
      Thanks for any help as this is an important step my client needs.

      1. Try pasting it into the HTML editor, and not the visual editor. See if that changes things

    4. Leslie says:

      I discovered why it wasn’t working, I had it linked. Can’t have it linked.

    Leave a Reply