Everyday we approach more and more the Semantic web, and one of the major steps we are giving is adopting standards. One of them is oEmbed that allows you to get some information about a online resource like Flickr, youtube, etc..
But looks like the Youtube guys haven’t managed to get some 20% time to implement it, so I did it myself based on Vikram Vaswani’s code. You can reach the endpoint at http://junk.ideias3.com/oembed/youtube.php. The syntax is explained in the oEmbed webpage, and you even got some extra attributes ;)