Skip to content

Instantly share code, notes, and snippets.

@pinceladasdaweb
pinceladasdaweb / gist:6662290
Created Sep 22, 2013
Get Youtube Video Thumbnail with JavaScript.
View gist:6662290
var Youtube = (function () {
'use strict';
var video, results;
var getThumb = function (url, size) {
if (url === null) {
return '';
}
size = (size === null) ? 'big' : size;