Add support for embedded VidMe URLs

This commit is contained in:
Xaekai 2017-05-14 19:21:01 -07:00
parent dd97c244f2
commit 929e1b2c69
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"