Class: Thumbnails
Represents Thumbnails, usually found inside Playlist / Channel / Video, etc.
Thumbnails is an array of Thumbnail
Hierarchy
Array
<Thumbnail
>↳
Thumbnails
Accessors
best
• get
best(): undefined
| string
Returns thumbnail with the highest resolution, usually the last element of the Thumbnails array
Example
const best = video.thumbnails.best;
Returns
undefined
| string
min
• get
min(): undefined
| string
Returns thumbnail with the lowest resolution, usually the first element of the Thumbnails array
Example
const min = video.thumbnails.min;
Returns
undefined
| string