Skip to content

Feat: improve unlisted Vimeo video url handling#1315

Merged
mihar-22 merged 1 commit into
vidstack:mainfrom
faelmorais:unlisted-vimeo-improvements
Jun 18, 2024
Merged

Feat: improve unlisted Vimeo video url handling#1315
mihar-22 merged 1 commit into
vidstack:mainfrom
faelmorais:unlisted-vimeo-improvements

Conversation

@faelmorais

Copy link
Copy Markdown
Contributor

Related:

#1100

Description:

Currently, there are still some issues regarding unlisted Vimeo videos:

  • Only videos with URL's using the hash path parameter are loaded.
  • The getVimeoVideoInfo fails when retrieving the video info because the hash isn't provided.

This pr updates the Vimeo provider regex to retrieve to support the hash parameter as h (which is used in the embedded URL) or with video-id>/<video-hash>.

  • https://vimeo.com/video/<video-id>?h=<video-hash>
  • https://player.vimeo.com/video/<video-id>/<video-hash>

Ready?

Yes.

@mihar-22 mihar-22 merged commit 5d5ae75 into vidstack:main Jun 18, 2024
@faelmorais faelmorais deleted the unlisted-vimeo-improvements branch September 16, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants