Using the YouTube iframe API to embed YouTube videos into our website, if the iframe
is too small (anything smaller than 270px by 156px or so) the iframe
does not use a high definition thumbnail. It works fine for any larger iframes.
The thumbnail is available, but when the YouTube API requests it, it simply requests /i1.ytimg.com/vi/<Video Id>/default.jpg
instead of //i1.ytimg.com/vi/<Video Id>/hqdefault.jpg
.
Is there anyway to force the thumbnail to be the high definition one?
Here is a link to a website with three embedded YouTube videos all generated using the same code but different dimensions. The two on the left do not request a high quality thumbnail, the one on the right does.
http://pub-dev.lucidpress.com/ef93fe08-3740-4c22-b47a-04483d8ed35b/