jQuery YouTube video image getter plugin

jQuery YouTube video image getter plugin

Hello everyone, I have created a jquery plugin for youtube videos. It takes YouTube video's URL and returns its screenshot. You can also define the returned YouTube video's thumb size as well by giving second parameter "small", "bid".

Here is youtube plugin page and desicription and how to use info.

Here is how to use:

// Returns big screenshot by video id
var thumb1 = $.jYoutube('rSUfWXcNAOw');

// Returns small thumbnail by YouTube video URL
var thumb2 = $.jYoutube('http://www.youtube.com/watch?v=rSUfWXcNAOw', 'small');