Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Each YouTube video has 4 generated images. They are predictably formatted as follows:</p> <pre><code>https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/0.jpg https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/1.jpg https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/2.jpg https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/3.jpg </code></pre> <p>The first one in the list is a full size image and others are thumbnail images. The default thumbnail image (ie. one of <code>1.jpg</code>, <code>2.jpg</code>, <code>3.jpg</code>) is:</p> <pre><code>https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/default.jpg </code></pre> <p>For the high quality version of the thumbnail use a url similar to this:</p> <pre><code>https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/hqdefault.jpg </code></pre> <p>There is also a medium quality version of the thumbnail, using a url similar to the HQ:</p> <pre><code>https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/mqdefault.jpg </code></pre> <p>For the standard definition version of the thumbnail, use a url similar to this:</p> <pre><code>https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/sddefault.jpg </code></pre> <p>For the maximum resolution version of the thumbnail use a url similar to this:</p> <pre><code>https://img.youtube.com/vi/&lt;insert-youtube-video-id-here&gt;/maxresdefault.jpg </code></pre> <p>All of the above urls are available over http too. Additionally, the slightly shorter hostname <code>i3.ytimg.com</code> works in place of <code>img.youtube.com</code> in the example urls above.</p> <p>Alternatively, you can use the <a href="https://developers.google.com/youtube/v3/" rel="noreferrer">YouTube Data API (v3)</a> to get thumbnail images.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload