mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-10 17:01:29 +00:00
Clean up views
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
<% slice.each do |video| %>
|
||||
<% player_response = JSON.parse(video.info["player_response"]) %>
|
||||
<div class="pure-u-1 pure-u-md-1-4">
|
||||
<div style="margin: 1em;">
|
||||
<div style="margin:1em;">
|
||||
<a style="width:100%;" class="link" href="/watch?v=<%= video.id %>">
|
||||
<img style="width:100%" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/>
|
||||
<img style="width:100%;" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/>
|
||||
<%= video.title %>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user