% content_for "header" do %> "> <%= rendered "components/player_sources" %>
<%= number_with_separator(video.views) %>
<%= number_with_separator(video.likes) %>
<%= number_with_separator(video.dislikes) %>
Genre: <%= video.genre %>
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 %>
<% else %>"> Subscribe to <%= video.author %>
<% end %> <% else %>"> Login to subscribe to <%= video.author %>
<% end %>Shared <%= video.published.to_s("%B %-d, %Y") %>
<%= rv["title"] %>
<%= rv["author"] %>
<% end %> <% end %>