mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-04 22:51:58 +00:00
Add player title and thumbnail
This commit is contained in:
@@ -229,6 +229,8 @@ get "/watch" do |env|
|
||||
video.description = fill_links(video.description, "https", "www.youtube.com")
|
||||
video.description = add_alt_links(video.description)
|
||||
|
||||
thumbnail = player_response["videoDetails"]["thumbnail"]["thumbnails"][-1]["url"]?
|
||||
|
||||
templated "watch"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user