Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit 4206212

Browse files
committed
feat: Support unlisted vimeo urls with url parameters
1 parent 82af884 commit 4206212

4 files changed

Lines changed: 21 additions & 3 deletions

File tree

dist/jsVideoUrlParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@
641641
};
642642

643643
Vimeo.prototype.parseHash = function (url) {
644-
var match = url.match(/\/\d+\/(\w+)$/i);
644+
var match = url.match(/\/\d+\/(\w+)(\?.*)?$/i);
645645
return match ? match[1] : undefined;
646646
};
647647

0 commit comments

Comments
 (0)