mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add player title and thumbnail
This commit is contained in:
parent
212ba05047
commit
24fc14ac7a
4 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue