Add author for item

This commit is contained in:
Omar Roth
2018-02-26 20:59:18 -06:00
parent 3a95d21808
commit dff93f67f9
4 changed files with 14 additions and 2 deletions

View File

@@ -10,8 +10,9 @@
<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"] %>"/>
<%= video.title %>
<p><%= video.title %></p>
</a>
<p><b><a style="width:100%;" class="link" href="https://youtube.com/channel/<%= video.info["ucid"] %>"><%= video.info["author"] %></a></b></p>
</div>
</div>
<% end %>