% content_for "header" do %> <%= video.info["title"] + " - " %> <% end %>
<%= views.to_i %>
<%= likes.to_i %>
<%= dislikes.to_i %>
Wilson Score : <%= ci_lower_bound(likes, likes + dislikes).round(4) %>
Rating : <%= rating.round(4) %> / 5
Engagement : <%= engagement.round(2) %>%
Earnings : <%= video.info.has_key?("allowed_ads") ? "~$" + ((views.to_f / 500).round(2)).to_s : "Unmonetized" %>
Allowed ads :
<%= video.info.has_key?("allowed_ads") ? video.info["allowed_ads"] : "Unmonetized" %>
<%= description %>
<%= video.info["title"] %>
<% end %>