mirror of https://github.com/calzoneman/sync.git
Merge pull request #663 from Xaekai/vidme.parseupdate
Add support for embedded VidMe URLs
This commit is contained in:
commit
5f6176b18c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue