banner



How To Get Thumbnail Url From Youtube

Learn how to obtain the thumbnails of any YouTube video online.

The thumbnails of a YouTube video allow users to chop-chop understand the thematic of the video they're browsing on YouTube. They are generated automatically after uploading a video to the platform. The images are pretty lightweight, so as a programmer, yous may use them to bear witness a preview of a video, instead of embedding the whole iframe that will increase considerably the size of your web page.

In this article, I will explain to you how to hands obtain the thumbnails of whatever YouTube video either with an online tool or by building the URL of the thumbnail by yourself.

A. Using an online tool automatically

If you are looking to obtain the thumbnail of whatever video quickly, you lot can rely on this online tool that extracts the iv available thumbnails of the YouTube video:

youtubethumbnail.download is a free online tool to download the thumbnails of any YouTube video

You can use the youtubethumbnail.download tool to download the thumbnail of whatsoever YouTube video hither. The tool is actually unproblematic and allows you lot to see online the 4 thumbnails in the 4 different qualities, yous tin can copy the link of the paradigm to the clipboard or you lot can straight download the image.

B. Building the link by yourself

The thumbnails of any video on YouTube are hosted in a static URL that can be easily modified, just replace <YOUTUBE-VIDEO-ID> with the id of the YouTube video that you lot desire:

          https://img.youtube.com/six/<YOUTUBE-VIDEO-ID>/hqdefault.jpg        

You can extract the ID of any youtube video from its URL, as its specified as the value of the become parameter five, for instance, the post-obit URL:

          https://www.youtube.com/picket?v=9CAz_vvsK9M        

Would have the post-obit ID: 9CAz_vvsK9M. Then the link to come across the thumbnail from the previous video would be:

          https://img.youtube.com/six/9CAz_vvsK9M/hqdefault.jpg        

The hqdefault.jpg image contains the default loftier-quality thumbnail of the video, however, there are four different qualities that y'all can access. We will list them here from lower to higher quality.

mqdefault.jpg (Medium Quality)

The URL to obtain the thumbnail of Medium Quality is the following one:

          https://img.youtube.com/half dozen/<YOUTUBE-VIDEO-ID>/mqdefault.jpg        

The medium quality thumbnail has the worst quality of all the thumbnails with a size of 320 pixels past 180 (320x180).

hqdefault.jpg (High Quality)

The URL to obtain the thumbnail of High Quality is the following one:

          https://img.youtube.com/6/<YOUTUBE-VIDEO-ID>/hqdefault.jpg        

The medium quality thumbnail has a regular quality of all the thumbnails with a size of 480 pixels by 360 (480x360).

sddefault.jpg (Standard Quality)

The URL to obtain the thumbnail of Standard Quality is the following i:

          https://img.youtube.com/vi/<YOUTUBE-VIDEO-ID>/sddefault.jpg        

The standard quality thumbnail has better quality and is the one you see on the index folio of YouTube, this one has a size of 640 pixels past 480 (480x360).

maxresdefault.jpg (Max Quality)

The URL to obtain the thumbnail of Max Quality is the following one:

          https://img.youtube.com/vi/<YOUTUBE-VIDEO-ID>/maxresdefault.jpg        

The standard quality thumbnail has the best quality available from the thumbnail, this one has a size of 1280 pixels by 720 (1280x720).

Happy coding ❤️!

Source: https://ourcodeworld.com/articles/read/1364/how-to-obtain-the-thumbnails-of-any-youtube-video

Posted by: eldredwoud1941.blogspot.com

0 Response to "How To Get Thumbnail Url From Youtube"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel