Problem/Motivation
According to the official documentation, YouTube does not provide thumbnails in standard and maximum resolution in all cases.
![]()
However, the YouTube Cookies module assumes that standard and/or max resolution thumbnails exist.
- Documentation: https://developers.google.com/youtube/v3/docs/playlistItems
This generates that on your website, when either of these two image resolutions is called and YouTube does not have them, it returns a gray default image.
Proposed resolution
Modify the resolutions at which YouTube does confirm they exist
| Comment | File | Size | Author |
|---|---|---|---|
| thumbnails-youtube.png | 94.71 KB | albeorte |
Issue fork youtube_cookies-3504495
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
albeorte commentedComment #4
albeorte commentedSolution raised and created patch.
Ready for review
Comment #6
frouco commentedComment #8
frouco commentedFixed on release 2.0.7