|
|
@ -116,28 +116,28 @@ function toggle_comments(target) {
|
|
|
|
<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="fa fa-eye" aria-hidden="true"></i> <%= number_with_separator(video.views) %></p>
|
|
|
|
<p><i class="fa fa-eye" aria-hidden="true"></i> <%= number_with_separator(video.views) %></p>
|
|
|
|
<p><i class="fa fa-thumbs-up" aria-hidden="true"></i> <%= number_with_separator(video.likes) %></p>
|
|
|
|
<p><i class="fa fa-thumbs-up" aria-hidden="true"></i> <%= number_with_separator(video.likes) %></p>
|
|
|
|
<p><i class="fa fa-thumbs-down" aria-hidden="true"></i> <%= number_with_separator(video.dislikes) %></p>
|
|
|
|
<p><i class="fa fa-thumbs-down" aria-hidden="true"></i> <%= number_with_separator(video.dislikes) %></p>
|
|
|
|
<p id="Wilson">Wilson Score : <%= video.wilson_score.round(4) %></p>
|
|
|
|
<p id="Wilson">Wilson Score : <%= video.wilson_score.round(4) %></p>
|
|
|
|
<p id="Rating">Rating : <%= rating.round(4) %> / 5</p>
|
|
|
|
<p id="Rating">Rating : <%= rating.round(4) %> / 5</p>
|
|
|
|
<p id="Engagement">Engagement : <%= engagement.round(2) %>%</p>
|
|
|
|
<p id="Engagement">Engagement : <%= engagement.round(2) %>%</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="pure-u-1 pure-u-md-3-5">
|
|
|
|
<div class="pure-u-1 pure-u-md-3-5">
|
|
|
|
<div class="h-box">
|
|
|
|
<div class="h-box">
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<a href="https://youtube.com/channel/<%= video.info["ucid"] %>">
|
|
|
|
<a href="https://youtube.com/channel/<%= video.info["ucid"] %>">
|
|
|
|
<h3><%= video.info["author"] %></h3>
|
|
|
|
<h3><%= video.info["author"] %></h3>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<b>Shared <%= video.published.to_s("%B %-d, %Y") %></b>
|
|
|
|
<b>Shared <%= video.published.to_s("%B %-d, %Y") %></b>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<div style="overflow-wrap:break-word; word-wrap:break-word;">
|
|
|
|
<div style="overflow-wrap:break-word; word-wrap:break-word;">
|
|
|
|
<%= video.description %>
|
|
|
|
<%= video.description %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr style="margin-left:1em; margin-right:1em;">
|
|
|
|
<hr style="margin-left:1em; margin-right:1em;">
|
|
|
|
<% if reddit_thread && !reddit_html.empty? %>
|
|
|
|
<% if reddit_thread && !reddit_html.empty? %>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
@ -154,21 +154,23 @@ function toggle_comments(target) {
|
|
|
|
<%= reddit_html %>
|
|
|
|
<%= reddit_html %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<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">
|
|
|
|
<% rvs.each do |rv| %>
|
|
|
|
<% rvs.each do |rv| %>
|
|
|
|
<% if rv.has_key?("id") %>
|
|
|
|
<% if rv.has_key?("id") %>
|
|
|
|
<a href="/watch?v=<%= rv["id"] %>">
|
|
|
|
<a href="/watch?v=<%= rv["id"] %>">
|
|
|
|
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
|
|
|
|
<img style="width:100%;" alt="thumbnail" src="<%= rv["iurlmq"] %>">
|
|
|
|
<p style="width:100%"><%= rv["title"] %></p>
|
|
|
|
<p style="width:100%"><%= rv["title"] %></p>
|
|
|
|
<p><b style="width: 100%"><%= rv["author"] %></b></p>
|
|
|
|
<p>
|
|
|
|
</a>
|
|
|
|
<b style="width: 100%"><%= rv["author"] %></b>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|