How To Embed Videos, Images and Polls in WordPress 2.9 Using URL

WordPress 2.9 supports oEmbed, a new feature which fetches information from video and image providers with just the help of the URL. Starting with , you do not need to add the embed codes into your post and can just include the video using the URL.

Here is a step by step tutorial on how you can embed videos, images and polls in WordPress using URLs, rather than having to copy and paste the full embed codes, this will ensure that users who do not have support for unfiltered HTML will be able to insert videos into WordPress posts.

Insert Videos in WordPress using URL

Step 1: Create a new post in WordPress.

Step 2: Go to or to any other supported oEmbed providers in WordPress 2.9 and copy the URL of the video or image you want to include in your post.

embed_video_into_wordpress

Step 3: Paste the URL of the video directly into the post, make sure it is not hyperlinked. Save or publish the post as usual.

wordpress_oembed_magic

You will only see a URL inserted into the post edit area, but that is fine as all the magic happens under the hood, so after you have inserted the video, visit the post and the video will automatically be embedded into WordPress.

view_source_wordpress_oembed

If you view the source of the page, you will see that the URL has been converted into an actual embed code using oEmbed technology. Super cool right :-). You can also insert images and polls using the same method.

The supported providers for oEmbed inserts include, YouTube, Vimeo, DailyMotion, blip.tv, Flickr, Viddler, Hulu, Qik, Revision3, Scribd, Photobucket, PollDaddy, Google Video and WordPress.tv.

One thought on “How To Embed Videos, Images and Polls in WordPress 2.9 Using URL”

  1. Thanks for the post Keith. I have really enjoyed this feature and commend Matt and the WordPress team for introducing it in 2.9.

    The question I have is how can I control some of the parameters in the YouTube API? Before with Vipers Quick Tags or using swfobject I could append &autoplay=1to the end of the url for autoplay.

    Do you know how I might go about accomplishing this?

    Thanks,

    Dustin

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>