Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcin Pietrzak

    (@iworks)

    HI @bekatarg

    I suggest checking movie settings. It is really odd, because this video is in HD, and is no reason for missing maxresults.

    I found a similar issue on slackoverflow:

    https://stackoverflow.com/a/48178125

    Marcin

    I believe there are certain scenarios where YouTube does not create the maxresdefault image, but the hqdefault always will be available. I have had to write a quick header check for maxresdefault to ensure that it returns me a 200 before using that as my image.

    I would think it would be better to return the lower quality hqdefault in instances where the maxresdefault doesn’t exist, rather than return an image that 404’s.

    • This reply was modified 3 years, 6 months ago by adh2k1. Reason: re-worded a part
    Plugin Author Marcin Pietrzak

    (@iworks)

    hi @bekatarg, @adh2k1

    You are right 😉

    I added check and fallback.

    Please try 2.8.9

    Marcin

    • This reply was modified 3 years, 6 months ago by Marcin Pietrzak. Reason: typo
    Thread Starter Biblioteka Targówek

    (@bekatarg)

    Thanks for the quick fix, it works great.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘youtube is not generating maxresdefault.jpg’ is closed to new replies.