Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Vimeo videos no longer fetch the thumbnail. It seems the http://vimeo.com/api/v2/video/ url is now defunct.
We can get the thumbnails via oembed. The example at https://developer.vimeo.com/apis/oembed works. Thumbnails are not returned, however, for private videos, so an we might want to provide defaults for that instance.
Comments
Comment #2
jazzdrive3 CreditAttribution: jazzdrive3 at Lullabot for George Lucas Educational Foundation commentedHere is patch that fixes the main problem on the Vimeo provider. The second issue, where a thumbnail cannot be grabbed, should be a separate issue, since that deals with code one level up at ProviderPluginBase.php. I imagine we want to do something if there is an exception in ::downloadThumbnail(). Maybe provide our own icon image like the Media module does.
Comment #3
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedLets fix the API here and we can discuss the default image in a new issue. This looks good to me.
Comment #4
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedComment #7
bkosborneHere's a follow up for being unable to retrieve the thumbnail: https://www.drupal.org/node/2858521
Comment #8
BarisW CreditAttribution: BarisW at LimoenGroen commentedCan this patch be reverted? The v2 api seems to work fine. The problem with the oEmbed is that thumbnails are very small.
Comment #9
BarisW CreditAttribution: BarisW at LimoenGroen commentedI wrote a patch as follow-up of this issue: #3061485: Revert issue 2856476 - Vimeo v2 API works fine