Embedding Video Clips

As users get more familiar with using WordPress, invariably a question that arises is how to embed a video clip (usually from youtube) right into a blog post. It seems like it would be really easy.. most streaming video sites have an ’embed’ option, where they give you a piece of code to copy-and-paste to make the video clip display on another website or blog. But what everyone finds out when they go to edit one of their blog posts, click on ‘HTML’ view, and paste in the ’embed’ code.. is that it doesn’t work. It turns out that WordPress is designed to not allow pasting in chunks of HTML code like this.. it’s a security feature to prevent users from embedding malicious or dangerous code on their posts and pages.

Fortunately, though, there’s an even simpler method for embedding video clips (in fact it’s so simple that it doesn’t occur to most users to try it).. simply copy-and-paste the address of the youtube video, vimeo clip, etc. right into the text of a post or page.. and don’t do anything to it (i.e. don’t make it a hyperlink). WordPress will automatically detect that the address is a video clip, and if the website is on the ‘approved list’, the video clip will automatically embed right in the post or page when you view it. Here is the current list of video (and photo gallery) websites that WordPress currently supports (and automatically embeds):

  • YouTube
  • Vimeo
  • DailyMotion
  • blip.tv
  • Flickr (both videos and images)
  • Viddler
  • Hulu
  • Qik
  • Revision3
  • Scribd
  • Photobucket
  • PollDaddy
  • WordPress.tv (only VideoPress-type videos for the time being)
  • SmugMug
  • FunnyOrDie.com
This entry was posted in Wordpress Tips and tagged , , , , . Bookmark the permalink.

Leave a Reply