Problem/Motivation

According to the official documentation, YouTube does not provide thumbnails in standard and maximum resolution in all cases.

thumbnail youtube

However, the YouTube Cookies module assumes that standard and/or max resolution thumbnails exist.

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

CommentFileSizeAuthor
thumbnails-youtube.png94.71 KBalbeorte
Command icon 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

albeorte created an issue. See original summary.

albeorte’s picture

Title: YouTube does not provide default thumbnail images in standard and maximum resolution » YouTube does not provide by default thumbnail images in standard and maximum resolution
albeorte’s picture

Status: Active » Needs review

Solution raised and created patch.

Ready for review

frouco made their first commit to this issue’s fork.

frouco’s picture

Version: 2.1.4 » 2.0.x-dev
Status: Needs review » Reviewed & tested by the community

  • frouco committed 6cb8ec04 on 2.0.x authored by albeorte
    Issue #3504495: YouTube does not provide default thumbnail images in...
frouco’s picture

Status: Reviewed & tested by the community » Fixed

Fixed on release 2.0.7

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.