Disable vid.me (RIP)
This commit is contained in:
parent
0c330a82ce
commit
b7bc93f194
7 changed files with 40 additions and 78 deletions
15
www/js/ui.js
15
www/js/ui.js
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue