mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix thumbnail URL on recommended videos
This commit is contained in:
parent
b13b91e2bf
commit
e767651836
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ get "/api/v1/videos/:id" do |env|
|
||||||
qualities.each do |quality|
|
qualities.each do |quality|
|
||||||
json.field quality[:name] do
|
json.field quality[:name] do
|
||||||
json.object do
|
json.object do
|
||||||
json.field "url", "https://i.ytimg.com/vi/#{id}/#{quality["url"]}.jpg"
|
json.field "url", "https://i.ytimg.com/vi/#{rv["id"]}/#{quality["url"]}.jpg"
|
||||||
json.field "width", quality[:width]
|
json.field "width", quality[:width]
|
||||||
json.field "height", quality[:height]
|
json.field "height", quality[:height]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue