If I have the URL of a Youtube video.
How can I access the thumbnails of that same video?
English post: https://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api
If I have the URL of a Youtube video.
How can I access the thumbnails of that same video?
English post: https://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api
Each YouTube video has 4 generated images. They have a predictable format as follows:
The first in the list will be a full image and the others will be thumbnails. The default thumbnail (eg from:
1.jpg
,2.jpg
,3.jpg
) are:For the high quality version of the thumbnail use:
There is also a medium quality thumbnail using the following high definition similar URL:
For the standard definition use:
For maximum thumbnail resolution use:
All of the above URLs are available in http as well. Additionally, the host name shortened
i3.ytimg.com
ori.ytimg.com
works in place ofimg.youtube.com
in the previous examples.Otherwise, you can also use the data from the Youtube API (v3) to collect the thumbnails: