mirror of
https://github.com/Ahwxorg/librey/
synced 2024-12-06 19:16:48 +01:00
fix: move to mqdefault.jpg instead of maxresdefault.jpg (fixes #170)
Docker Image CI / build (push) Waiting to run
Docker Image CI / build (push) Waiting to run
This commit is contained in:
@@ -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\">";
|
||||
|
||||
Reference in New Issue
Block a user