|
|
@ -6,7 +6,7 @@
|
|
|
|
<title><%= video.title %> - Invidious</title>
|
|
|
|
<title><%= video.title %> - Invidious</title>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="l-box">
|
|
|
|
<div class="h-box">
|
|
|
|
<% if listen %>
|
|
|
|
<% if listen %>
|
|
|
|
<%= render "src/views/player/audio.ecr" %>
|
|
|
|
<%= render "src/views/player/audio.ecr" %>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
@ -85,7 +85,7 @@ function toggle_comments(target) {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="l-box">
|
|
|
|
<div class="h-box">
|
|
|
|
<h1>
|
|
|
|
<h1>
|
|
|
|
<%= video.info["title"] %>
|
|
|
|
<%= video.info["title"] %>
|
|
|
|
<% if listen %>
|
|
|
|
<% if listen %>
|
|
|
@ -102,7 +102,7 @@ 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="l-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>
|
|
|
@ -113,7 +113,7 @@ function toggle_comments(target) {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="pure-u-1 pure-u-md-3-5">
|
|
|
|
<div class="pure-u-1 pure-u-md-3-5">
|
|
|
|
<div class="l-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>
|
|
|
@ -146,7 +146,7 @@ function toggle_comments(target) {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="pure-u-1 pure-u-md-1-5">
|
|
|
|
<div class="pure-u-1 pure-u-md-1-5">
|
|
|
|
<div class="l-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"] %>">
|
|
|
|