Merge pull request #591 from Xaekai/fuckitwelldoitlive

Add missing formatter entry for vid.me
This commit is contained in:
Calvin Montgomery 2016-07-07 23:46:57 -07:00 committed by GitHub
commit 2ae5af096b
3 changed files with 5 additions and 1 deletions

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.18.2", "version": "3.18.3",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },

View file

@ -220,6 +220,8 @@
return "http://vimeo.com/" + id; return "http://vimeo.com/" + id;
case "dm": case "dm":
return "http://dailymotion.com/video/" + id; return "http://dailymotion.com/video/" + id;
case "vm":
return "https://vid.me/" + id;
case "sc": case "sc":
return id; return id;
case "li": case "li":

View file

@ -29,6 +29,8 @@ function formatURL(data) {
return "http://vimeo.com/" + data.id; return "http://vimeo.com/" + data.id;
case "dm": case "dm":
return "http://dailymotion.com/video/" + data.id; return "http://dailymotion.com/video/" + data.id;
case "vm":
return "https://vid.me/" + data.id;
case "sc": case "sc":
return data.id; return data.id;
case "li": case "li":