Vimeo hash parameter on private video url

Created on 20 September 2021, almost 3 years ago
Updated 27 February 2023, over 1 year ago

Problem/Motivation

Vimeo introduced a hash parameter (h) that has to be appended to private video URLs in order to be embedded.
Example:
https://player.vimeo.com/video/607242810?h=47f19305fd&autoplay=0

Proposed resolution

I attach the proposed resolution to be used along with patch https://www.drupal.org/files/issues/2018-11-20/video_embed_field-private...

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇮🇹Italy puidu

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

Comments & Activities

Not all content is available!

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

  • First commit to issue fork.
  • @kunal_sahu opened merge request.
  • 🇮🇳India kunal_sahu Karnataka

    Hi @all Thanks you for all your patches. The patch video_embed_field-vimeo_hash_parameters_private_video-3238136-8.patch applied successfully.

    PS C:\xampp\htdocs\drupal\web\themes\custom\video_embed_field-2580459> git apply -v .\youtube_autoplay-2580459-25.patch
    Checking patch video_embed_field.handlers.inc...

    PS C:\xampp\htdocs\drupal\web\themes\custom\video_embed_field-3238136> git apply -v .\video_embed_field-vimeo_hash_parameters_private_video-3238136-8.patch
    Checking patch src/Plugin/video_embed_field/Provider/Vimeo.php...
    Applied patch src/Plugin/video_embed_field/Provider/Vimeo.php cleanly.

    LGTM.

    Creating an MR for helping out maintainer. Thanks recrit for the patch . Thanks

Production build 0.69.0 2024