Vimeo videos with domain-level privacy setting break oEmbed

Created on 21 May 2019, over 5 years ago
Updated 12 August 2024, 4 months ago

TL;DR:

Solved in contrib by: https://www.drupal.org/project/media_vimeo_domain_privacy β†’
This will NOT be solved in core as it's vimeo-specific!

Original request:

Hi,

In Vimeo you can add specific domains for embedding videos from Vimeo. This settings is found in paid account only.
When you do that thumbnails are not created when adding video in Drupal. The video is viewable but thumbnails are not generated. If I remove that setting, creation of thumbnails works without problems. Tried on 8.6 and 8.7, same result.

To reproduce (Paid Vimeo account needed or signup for try only):

1. Vanilla installation
2. Add field of type Reference / Media to content type Article and choose Remote Video.
3. Go to Content / Media / Add Media
4. Choose Remote Video
5. Paste Vimeo url

Result Defualt media icon, no thumbnail created.

From Vimeo docs: https://developer.vimeo.com/api/oembed/videos

"NOTE: In the case of a video with domain-level privacy, the oEmbed request returns a simplified response containing the embed code only and no private metadata. To get the complete response, send the Referer header along with the request, and set its value to the video's whitelisted domain."

πŸ› Bug report
Status

Closed: won't fix

Version

9.4

Component
MediaΒ  β†’

Last updated 1 day ago

Created by

πŸ‡ΈπŸ‡ͺSweden damir-1

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024