oEmbed support
October 9th, 2009 | Published in Youtube API
oEmbed is a pretty slick way to embed multimedia for a link. For example with a request like this:
http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch%3Fv%3DbDOYN-6gdRE&format=json
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.