Display a YouTube Thumbnail from URL

The below snippet outputs an image that is 480×360. See below for other image sizes available. Replace ‘hqdefault.jpg’ with one of the other file names.

YouTube Thumbnail Sizes

480×360: https://i1.ytimg.com/vi/VIDEO_ID/0.jpg
120×90: https://i1.ytimg.com/vi/VIDEO_ID/1.jpg
120×90: https://i1.ytimg.com/vi/VIDEO_ID/2.jpg
120×90: https://i1.ytimg.com/vi/VIDEO_ID/3.jpg
120×90: https://i1.ytimg.com/vi/VIDEO_ID/default.jpg
320×180: https://i1.ytimg.com/vi/VIDEO_ID/mqdefault.jpg
480×360: https://i1.ytimg.com/vi/VIDEO_ID/hqdefault.jpg
640×480: https://i1.ytimg.com/vi/VIDEO_ID/sddefault.jpg
1280×720: https://i1.ytimg.com/vi/VIDEO_ID/maxresdefault.jpg

Now are you inspired to get into alignment and start manifesting some awesome stuff?