We run a slew of WordPress based sites and I was just dumbstruck when I came across this little known feature. Atleast to me. I am sharing this here in case you didn’t know about it either.
To embed videos or slideshows from various sites like YouTube, Vimeo, Flickr, etc, I am used to grabbing the whole HTML embed code and inserting that in HTML view in the blog post.
But, it looks like WordPress has added support for oEmbed in the recent WordPress versions starting from WordPress 2.9.
What is oEmbed?
oEmbed lets you just add the video URL in your WordPress blog post without having to grab and add the HTML embed code. Just add the video/photo URL in a separate line and oEmbed will contact the site to get the embed code dynamically and display the video in the WordPress site.
The easy embedding feature is mostly powered by oEmbed, a protocol for site A (such as your blog) to ask site B (such as YouTube) for the HTML needed to embed content (such as a video) from site B.
oEmbed was designed to avoid having to copy and paste HTML from the site hosting the media you wish to embed. It supports videos, images, text, and more.
What Sites can I oEmbed?
- YouTube
- Vimeo
- DailyMotion
- blip.tv
- Flickr (both videos and images)
- Viddler
- Hulu
- Qik
- Revision3
- Scribd
- Photobucket
- PollDaddy
- Google Video
- WordPress.tv
- SmugMug (WP 3.0+)
- FunnyOrDie (WP 3.0+)
If you are using one of the top WordPress plugins for embedding video, you could do away with one less plugin now.
{via Codex}
nice info