Disable vid.me (RIP)

This commit is contained in:
Calvin Montgomery 2017-12-24 11:19:30 -08:00
parent 0c330a82ce
commit b7bc93f194
7 changed files with 40 additions and 78 deletions

View file

@ -367,6 +367,21 @@ function queue(pos, src) {
var title = undefined;
if (data.type === "fi") {
title = $("#addfromurl-title-val").val();
} else if (data.type === "vm") {
/*
* As of December 2017, vid.me is no longer in service.
* Leaving this temporarily to hopefully avoid confusion
* for people pasting old vid.me links.
*
* TODO: remove at some point in the future
*/
Callbacks.queueFail({
link: link,
msg: "As of December 2017, vid.me is no longer in service."
});
return;
}
if (data.id == null || data.type == null) {

View file

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