mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 16:19:53 +05:30
Add thumbnails for related videos
This commit is contained in:
parent
6b5426b5f6
commit
634b5f6c87
@ -71,7 +71,10 @@ var player = videojs('player', options, function() {
|
|||||||
<div class="pure-u-1 pure-u-md-1-5">
|
<div class="pure-u-1 pure-u-md-1-5">
|
||||||
<% rvs.each do |rv| %>
|
<% rvs.each do |rv| %>
|
||||||
<% if rv.has_key?("id") %>
|
<% 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 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user