oEmbed: Quickly embed third party videos, images and links

oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly. Flickr, Viddler, Qik, Pownce and Revision3 are the […]

Share online:

oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.

Flickr, Viddler, Qik, Pownce and Revision3 are the first services to support oEmbed, that means if you find an interesting photo on flickr, you can convert flickr URL into embeddable data. The supported formats are photo, video, link, and rich:

Original URL:http://flickr.com/photos/codepo8/2475016321/
oEmbeded: http://flickr.com/services/oembed?url=http://flickr.com/photos/codepo8/2475016321/

XML:
<oembed>
<version>1.0</version>
<type>photo</type>
<author_name>codepo8</author_name>
<author_url>http://www.flickr.com/photos/codepo8/</author_url>
<cache_age>3600</cache_age>
<provider_name>Flickr</provider_name>
<provider_url>http://www.flickr.com/</provider_url>
<width>500</width>
<height>375</height>
<url>
http://farm4.static.flickr.com/3128/2475016321_982666ec95.jpg
</url>
</oembed>

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.