Project: Youtube thumbnail getter thingy

Ok I'm past due for one of my silly projects, so here it is. A youtube thumbnail getter. I was working on a job recently where getting different thumbnails was necessary to accompany each posted video.

This is actually a simple task, all done without utilizing the Youtube api.

Google creates 5 thumbnails for each video uploaded: http://img.youtube.com/vi/oHg5SJYRHA0/0.jpg, http://img.youtube.com/vi/oHg5SJYRHA0/1.jpg, http://img.youtube.com/vi/oHg5SJYRHA0/2.jpg, http://img.youtube.com/vi/oHg5SJYRHA0/3.jpg and http://img.youtube.com/vi/oHg5SJYRHA0/default.jpg. Anyway, it's not rocket science, my script simply isolates the video ID, makes a quick http request to make sure it's a valid video and shows the matching thumbnails. Give it a go!

Youtube Thumbnail Getter (New Window)

btw, you can also pass the video ID or youtube video URL like so http://jyoseph.com/projects/youtube-thumbnail-getter/?id=http://www.youtube.com/watch?v=oHg5SJYRHA0