invidious/invidious.php aktualisiert

This commit is contained in:
loma-one 2023-12-04 22:01:46 +01:00 committed by Hypolite Petovan
parent dc2d00b6c6
commit 668ea972cc

View file

@ -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;
} }