Fix watch for videos that don't have fmt_stream

This commit is contained in:
Omar Roth
2018-02-06 17:30:53 -06:00
parent 6167ce30b0
commit d4c88f2844
2 changed files with 11 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
<% slice.each do |video| %>
<div class="pure-u-1 pure-u-md-1-4">
<div style="margin:1em;">
<a style="width:100%;" class="link" href="/watch?v=<%= video["link"] %>">
<a style="width:100%;" class="link" href="<%= video["link"] %>">
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
<%= video["title"] %>
</a>