|
|
@ -315,11 +315,11 @@ get_youtube_comments();
|
|
|
|
<%= HTML.escape(video.title) %>
|
|
|
|
<%= HTML.escape(video.title) %>
|
|
|
|
<% if listen %>
|
|
|
|
<% if listen %>
|
|
|
|
<a href="/watch?<%= env.params.query %>">
|
|
|
|
<a href="/watch?<%= env.params.query %>">
|
|
|
|
<i class="icon ion-ios-videocam" aria-hidden="true"></i>
|
|
|
|
<i class="icon ion-ios-videocam"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<a href="/watch?<%= env.params.query %>&listen=true">
|
|
|
|
<a href="/watch?<%= env.params.query %>&listen=true">
|
|
|
|
<i class="icon ion-ios-volume-high" aria-hidden="true"></i>
|
|
|
|
<i class="icon ion-ios-volume-high"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</h1>
|
|
|
|
</h1>
|
|
|
@ -328,9 +328,9 @@ get_youtube_comments();
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1 pure-u-md-1-5">
|
|
|
|
<div class="pure-u-1 pure-u-md-1-5">
|
|
|
|
<div class="h-box">
|
|
|
|
<div class="h-box">
|
|
|
|
<p><i class="icon ion-ios-eye" aria-hidden="true"></i> <%= number_with_separator(video.views) %></p>
|
|
|
|
<p><i class="icon ion-ios-eye"></i> <%= number_with_separator(video.views) %></p>
|
|
|
|
<p><i class="icon ion-ios-thumbs-up" aria-hidden="true"></i> <%= number_with_separator(video.likes) %></p>
|
|
|
|
<p><i class="icon ion-ios-thumbs-up"></i> <%= number_with_separator(video.likes) %></p>
|
|
|
|
<p><i class="icon ion-ios-thumbs-down" aria-hidden="true"></i> <%= number_with_separator(video.dislikes) %></p>
|
|
|
|
<p><i class="icon ion-ios-thumbs-down"></i> <%= number_with_separator(video.dislikes) %></p>
|
|
|
|
<p id="Genre">Genre : <%= video.genre %></p>
|
|
|
|
<p id="Genre">Genre : <%= video.genre %></p>
|
|
|
|
<p id="FamilyFriendly">Family Friendly? <%= video.is_family_friendly %></p>
|
|
|
|
<p id="FamilyFriendly">Family Friendly? <%= video.is_family_friendly %></p>
|
|
|
|
<p id="Wilson">Wilson Score : <%= video.wilson_score.round(4) %></p>
|
|
|
|
<p id="Wilson">Wilson Score : <%= video.wilson_score.round(4) %></p>
|
|
|
|