Vimeo embed thumbnail url is wrong

Hello :slight_smile:

It seems Vimeo has changed the way they handle the thumbnail urls a few days / weeks ago.
I now have all my thumbnail urls displaying the default one because the urls I get from prismic are wrong.
Here is what I get :

I'll give you one example, the url I should get for my thumbnail is the following :
"https://i.vimeocdn.com/video/1069849511-51e95ff2ecee8c1053490881fca35cc18b5a5d1999c14593d76374258f5835cc-d"

And what I get from prismic is this one :
"https://i.vimeocdn.com/video/1069849684_640"

Looks like the id has changed :slight_smile:

Hi @romain,

Thanks for reaching out,

Can you please list the embed field that is returning the wrong thumbnail, an example of the broken thumbnail from Prismic and not from vimeocdn, and your repository name (in a private message if possible).

In fact, I wasn't able to reproduce the issue, and here is my test:

I've added a Vimeo video to an embed field in Prismic and fetch the document using the API, and the thumbnail seems correct.

"video": {
"provider_name": "Vimeo",
"provider_url": "https://vimeo.com/",
"type": "video",
"version": "1.0",
"title": "Sample Video",
"author_name": "Sergio Santos",
"author_url": "https://vimeo.com/sergiosantos5000",
"is_plus": "0",
"account_type": "enterprise",
"html": "<iframe src=\"https://player.vimeo.com/video/347119375?h=1699409fe2&amp;app_id=122963\" width=\"426\" height=\"240\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture\" allowfullscreen title=\"Sample Video\"></iframe>",
"width": 426,
"height": 240,
"duration": 62,
"description": "Sample video.",
"thumbnail_url": "https://i.vimeocdn.com/video/797382244-0106ae13e902e09d0f02d8f404fa80581f38d1b8b7846b3f8e87ef391ffb8c99-d_295x166",
"thumbnail_width": 295,
"thumbnail_height": 166,
"thumbnail_url_with_play_button": "https://i.vimeocdn.com/filter/overlay?src0=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F797382244-0106ae13e902e09d0f02d8f404fa80581f38d1b8b7846b3f8e87ef391ffb8c99-d_295x166&src1=http%3A%2F%2Ff.vimeocdn.com%2Fp%2Fimages%2Fcrawler_play.png",
"upload_date": "2019-07-09 12:18:31",
"video_id": 347119375,
"uri": "/videos/347119375",
"embed_url": "https://vimeo.com/347119375"
},

Looking forward to your reply,
Fares

Hi Fares,

Thanks for your time. It actually seems like it is an issue from the plugin gatsby-source-prismic after upgrading it to the latest version. I posted an issue on their github instead :slight_smile:

I should have verified with an api call before posting, sorry about that

Have a nice day

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.