Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

update vimeo regex to work with private videos #2598

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/js/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},

vimeo: {
matcher: /^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,
matcher: /^.+vimeo.com\/(\/)?([\d]+)(.*)?/,
params: {
autoplay: 1,
hd: 1,
Expand Down Expand Up @@ -287,4 +287,4 @@
}
}
});
})(jQuery);
})(jQuery);