diff --git a/invidious/invidious.php b/invidious/invidious.php index b4884209..f2969919 100644 --- a/invidious/invidious.php +++ b/invidious/invidious.php @@ -5,7 +5,7 @@ * Version: 0.5 * Author: Matthias Ebers * Author: Michael Vogel - * Status: + * Status: Unsupported * Note: Please use the URL Replace addon instead */ @@ -97,6 +97,7 @@ function invidious_render(array &$b) $b['html'] = preg_replace("~https?://(?:www\.)?youtube\.com/embed/(.*?)~ism", $server . '/embed/$1', $b['html']); $b['html'] = preg_replace("~https?://(?:www\.)?youtube\.com/shorts/(.*?)~ism", $server . '/shorts/$1', $b['html']); $b['html'] = preg_replace ("/https?:\/\/music.youtube.com\/(.*?)/ism", $server . '/watch?v=$1', $b['html']); + $b['html'] = preg_replace ("/https?:\/\/m.youtube.com\/(.*?)/ism", $server . '/watch?v=$1', $b['html']); $b['html'] = preg_replace("/https?:\/\/youtu.be\/(.*?)/ism", $server . '/watch?v=$1', $b['html']); if ($original != $b['html']) {