forked from friendica/friendica-addons
invidious/invidious.php aktualisiert
This commit is contained in:
parent
dc2d00b6c6
commit
668ea972cc
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function invidious_render(array &$b)
|
||||||
$b['html'] = str_replace('https://www.youtube.com', $invidious, $b['html']);
|
$b['html'] = str_replace('https://www.youtube.com', $invidious, $b['html']);
|
||||||
$replaced = true;
|
$replaced = true;
|
||||||
}
|
}
|
||||||
if (strstr($b['html'], 'https://youtube.com')) {
|
if (strstr($b['html'], 'https://youtube.com')) {
|
||||||
$b['html'] = str_replace('https://youtube.com', $invidious, $b['html']);
|
$b['html'] = str_replace('https://youtube.com', $invidious, $b['html']);
|
||||||
$replaced = true;
|
$replaced = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue