Bad URL indicator, auto-remove player_embedded crap
This commit is contained in:
parent
de2294d3ab
commit
877b125766
2 changed files with 14 additions and 0 deletions
|
|
@ -807,6 +807,7 @@ function parseMediaLink(url) {
|
|||
};
|
||||
}
|
||||
url = url.trim();
|
||||
url = url.replace("feature=player_embedded&", "");
|
||||
|
||||
if(url.indexOf("jw:") == 0) {
|
||||
return {
|
||||
|
|
@ -899,6 +900,11 @@ function parseMediaLink(url) {
|
|||
type: "sc"
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
id: null,
|
||||
type: null
|
||||
};
|
||||
}
|
||||
|
||||
function sendVideoUpdate() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue