mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Revert "Replace ytimg with local thumbnails"
This reverts commit 95e2d8f1b7
.
This commit is contained in:
parent
6e092026d2
commit
1703788f4b
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ def generate_thumbnails(json, id)
|
|||
VIDEO_THUMBNAILS.each do |thumbnail|
|
||||
json.object do
|
||||
json.field "quality", thumbnail[:name]
|
||||
json.field "url", "/vi/#{id}/#{thumbnail["url"]}.jpg"
|
||||
json.field "url", "https://i.ytimg.com/vi/#{id}/#{thumbnail["url"]}.jpg"
|
||||
json.field "width", thumbnail[:width]
|
||||
json.field "height", thumbnail[:height]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue