mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Add thumbnails for related videos
This commit is contained in:
parent
6b5426b5f6
commit
634b5f6c87
1 changed files with 4 additions and 1 deletions
|
@ -71,7 +71,10 @@ var player = videojs('player', options, function() {
|
|||
<div class="pure-u-1 pure-u-md-1-5">
|
||||
<% rvs.each do |rv| %>
|
||||
<% if rv.has_key?("id") %>
|
||||
<p><a class="link" href="/watch?v=<%= rv["id"] %>"><%= rv["title"] %></a></p>
|
||||
<a target="_blank" class="link" href="/watch?v=<%= rv["id"] %>">
|
||||
<img style="width:100%" alt="thumbnail" src="<%= rv["iurlmq"] %>">
|
||||
</a>
|
||||
<p><a target="_blank" class="link" href="/watch?v=<%= rv["id"] %>"><%= rv["title"] %></a></p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue