mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Use maxresdefault for thumbnail
This commit is contained in:
parent
1fb0e1991b
commit
272e798f5c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue