diff --git a/packages/core/src/components/providers/vimeo/vimeo.tsx b/packages/core/src/components/providers/vimeo/vimeo.tsx index 5719758a..a1949b9b 100644 --- a/packages/core/src/components/providers/vimeo/vimeo.tsx +++ b/packages/core/src/components/providers/vimeo/vimeo.tsx @@ -238,7 +238,7 @@ export class Vimeo implements MediaProvider { .fetch(`https://vimeo.com/api/oembed.json?url=${this.embedSrc}`) .then(response => response.json()) .then(data => { - const thumnailRegex = /vimeocdn\.com\/video\/([0-9]+)/; + const thumnailRegex = /vimeocdn.com\/video\/(.*)?_/; const thumbnailId = data?.thumbnail_url?.match(thumnailRegex)[1]; const poster = `https://i.vimeocdn.com/video/${thumbnailId}_1920x1080.jpg`; const info = { poster, width: data?.width, height: data?.height };