summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-08-03 14:55:04 -0500
committerOmar Roth <omarroth@hotmail.com>2018-08-03 14:55:04 -0500
commit272e798f5cdfd9a29d71b901a83a0661052cd4b8 (patch)
tree082ee88e074d96c241f45eb33361f604002b0f59 /src
parent1fb0e1991b708c8fc410b81b07a7eb493f959f10 (diff)
downloadinvidious-272e798f5cdfd9a29d71b901a83a0661052cd4b8.tar.gz
invidious-272e798f5cdfd9a29d71b901a83a0661052cd4b8.tar.bz2
invidious-272e798f5cdfd9a29d71b901a83a0661052cd4b8.zip
Use maxresdefault for thumbnail
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr4
1 files 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