Zod- / jsVideoUrlParser

A javascript parser to extract informations like provider, channel, id, start time from YouTube, Vimeo, Dailymotion, Twitch,... urls
MIT License
234 stars 73 forks source link

Please add support for Vimeo hash on URLs #91

Closed gonzalo-massa closed 2 years ago

gonzalo-massa commented 2 years ago

Hi

There are some issues with this format of Vimeo URLs:

vimeo.com/{video_id}/{hash} player.vimeo.com/{video_id}?h={hash}

The hash is needed in order to display the video, otherwise it'll show an error (404 most of the time).

I've made a pull request (#90) that fixes this problem. I've tried to follow the code style of the plugins, but had to make some exceptions:

Please let me know if you have any questions about this.

Thank you, Gonzalo