mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
The lbry api changed...
This commit is contained in:
parent
ca2a94fb43
commit
84d16c1587
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ function validateVideo (id) {
|
||||||
let title = data.data.videos[id]
|
let title = data.data.videos[id]
|
||||||
|
|
||||||
if (title != null) {
|
if (title != null) {
|
||||||
let url = "https://lbry.tv/" + title
|
let url = "https://lbry.tv/" + title.replace(/^lbry:\/\//, "").replace(/#/g, ":");
|
||||||
chrome.tabs.update({url: url});
|
chrome.tabs.update({url: url});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue