From 272e798f5cdfd9a29d71b901a83a0661052cd4b8 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 3 Aug 2018 14:55:04 -0500 Subject: [PATCH] Use maxresdefault for thumbnail --- src/invidious.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invidious.cr b/src/invidious.cr index 2114180c..d357ad5e 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -439,7 +439,7 @@ get "/watch" do |env| host_params = env.request.query_params host_params.delete_all("v") - thumbnail = "https://i.ytimg.com/vi/#{id}/mqdefault.jpg" + thumbnail = "https://i.ytimg.com/vi/#{id}/maxresdefault.jpg" templated "watch" end @@ -1525,7 +1525,7 @@ get "/embed/:id" do |env| host_params = env.request.query_params host_params.delete_all("v") - thumbnail = "https://i.ytimg.com/vi/#{id}/mqdefault.jpg" + thumbnail = "https://i.ytimg.com/vi/#{id}/maxresdefault.jpg" rendered "embed" end