From 03de6fbf06de0f6da112f995699a9ed63075d42a Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 27 Jan 2018 20:10:08 -0600 Subject: [PATCH] Use likes, dislikes from record --- src/views/watch.ecr | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/watch.ecr b/src/views/watch.ecr index db8457d2..81fe47c5 100644 --- a/src/views/watch.ecr +++ b/src/views/watch.ecr @@ -2,7 +2,7 @@ -<%= video.info["title"] %> - Invidious +<%= video.title %> - Invidious <% end %> <% if listen == "true" %> @@ -54,10 +54,10 @@ var player = videojs('player', options, function() {
-

<%= views %>

-

<%= likes %>

-

<%= dislikes %>

-

Wilson Score : <%= ci_lower_bound(likes, likes + dislikes).round(4) %>

+

<%= video.views %>

+

<%= video.likes %>

+

<%= video.dislikes %>

+

Wilson Score : <%= video.wilson_score.round(4) %>

Rating : <%= rating.round(4) %> / 5

Engagement : <%= engagement.round(2) %>%