fix: move to mqdefault.jpg instead of maxresdefault.jpg (fixes #170)
Docker Image CI / build (push) Waiting to run

This commit is contained in:
Ahwx
2024-11-04 11:10:17 +01:00
parent 43eb2fddbc
commit f1c7ab2e29
+1 -1
View File
@@ -53,7 +53,7 @@
$views = $result["views"] ?? '';
$date = $result["date"] ?? '';
$lengthSeconds = $result["lengthSeconds"] ?? '';
$thumbnail = "https://i.ytimg.com/vi/" . htmlspecialchars(explode("=", $url)[1]) . "/maxresdefault.jpg" ?? '';
$thumbnail = "https://i.ytimg.com/vi/" . htmlspecialchars(explode("=", $url)[1]) . "/mqdefault.jpg" ?? '';
echo "<div class=\"text-result-wrapper\">";
echo "<a rel=\"noreferer noopener\" href=\"$url\">";