Merge pull request #663 from Xaekai/vidme.parseupdate

Add support for embedded VidMe URLs
This commit is contained in:
Calvin Montgomery 2017-05-15 22:01:57 -07:00 committed by GitHub
commit 5f6176b18c
1 changed files with 2 additions and 1 deletions

View File

@ -1367,7 +1367,8 @@ function parseMediaLink(url) {
};
}
if((m = url.match(/vid\.me\/([\w-]+)/))) {
if ((m = url.match(/vid\.me\/embedded\/([\w-]+)/)) ||
(m = url.match(/vid\.me\/([\w-]+)/))) {
return {
id: m[1],
type: "vm"