% content_for "header" do %> "> <%= rendered "components/player_sources" %>
<%= number_with_separator(video.views) %>
<%= number_with_separator(video.likes) %>
<%= number_with_separator(video.dislikes) %>
Genre: <% if video.genre_url.empty? %> <%= video.genre %> <% else %> <%= video.genre %> <% end %>
<% if !video.license.empty? %>License: <%= video.license %>
<% end %>Family Friendly? <%= video.is_family_friendly %>
Wilson Score: <%= video.wilson_score.round(4) %>
Rating: <%= rating.round(4) %> / 5
Engagement: <%= engagement.round(2) %>%
<% if video.allowed_regions.size != REGIONS.size %><% if video.allowed_regions.size < REGIONS.size / 2 %> Whitelisted regions: <%= video.allowed_regions.join(", ") %> <% else %> Blacklisted regions: <%= (REGIONS.to_a - video.allowed_regions).join(", ") %> <% end %>
<% end %>"> Unsubscribe from <%= video.author %> <%= video.sub_count_text %>
<% else %>"> Subscribe to <%= video.author %> <%= video.sub_count_text %>
<% end %> <% else %>"> Login to subscribe to <%= video.author %>
<% end %>Shared <%= video.published.to_s("%B %-d, %Y") %>
<%= rv["title"] %>
<%= rv["author"] %>
<% end %> <% end %>