Friday, October 9, 2009

oEmbed support

oEmbed is a pretty slick way to embed multimedia for a link. For example with a request like this:

You get a response like this:
{"provider_url": "http://www.youtube.com/",
"title": "Auto-Tune the News #8: dragons. geese. Michael Vick. (ft. T-Pain)",
"html": "embed code",
...}
The value for the "html" key is all you need to insert into your webpage to render an embedded YouTube video:

Check out the documentation at oEmbed.com for more information.