2017-11-30 00:12:23 +00:00
|
|
|
<title><%= video_info["title"] %> - Invidious</title>
|
2017-11-29 01:59:51 +00:00
|
|
|
<video style="width: 100%" poster="<%= video_info.has_key?("iurlhq720") ? video_info["iurlhq720"] : video_info["iurlmq"] %>" controls>
|
|
|
|
<% fmt_stream.each do |fmt| %>
|
|
|
|
<source src="<%= fmt["url"] %>" type="<%= fmt["type"].split(";")[0] %>">
|
2017-11-24 04:06:43 +00:00
|
|
|
<% end %>
|
2017-11-23 07:48:55 +00:00
|
|
|
</video>
|
2017-11-29 01:59:51 +00:00
|
|
|
<h1><%= video_info["title"] %></h1>
|
2017-11-23 07:48:55 +00:00
|
|
|
<div class="pure-g">
|
2017-11-24 04:06:43 +00:00
|
|
|
<div class="pure-u-1 pure-u-md-1-5">
|
2017-11-29 01:59:51 +00:00
|
|
|
<p>+ <%= likes %></p>
|
|
|
|
<p>- <%= dislikes %></p>
|
2017-11-24 04:06:43 +00:00
|
|
|
</div>
|
2017-11-29 01:59:51 +00:00
|
|
|
<div class="pure-u-1 pure-u-md-3-5">
|
2017-11-30 03:49:26 +00:00
|
|
|
<p>Views : <%= views %></p>
|
|
|
|
<p>Rating : <%= rating %></p>
|
2017-11-29 01:59:51 +00:00
|
|
|
<p>Calculated Rating : <%= calculated_rating %></p>
|
|
|
|
<p>Engagement : <%= engagement %>%</p>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-1 pure-u-md-1-5">
|
|
|
|
<% fmt_stream.each do |fmt| %>
|
|
|
|
<p><%= fmt["quality"] %></p>
|
|
|
|
<% end %>
|
2017-11-24 04:06:43 +00:00
|
|
|
</div>
|
2017-11-23 07:48:55 +00:00
|
|
|
</div>
|