mirror of https://github.com/calzoneman/sync.git
Add support for embedded VidMe URLs
This commit is contained in:
parent
dd97c244f2
commit
929e1b2c69
|
@ -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 {
|
return {
|
||||||
id: m[1],
|
id: m[1],
|
||||||
type: "vm"
|
type: "vm"
|
||||||
|
|
Loading…
Reference in New Issue