mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Remove unnecessary view
This commit is contained in:
parent
f09f971af7
commit
6b5426b5f6
1 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
||||||
<h1><%= video_info["title"] %></h1>
|
|
||||||
<video style="width: 100%" poster="<%= video_info.has_key?("iurlhq720") ? video_info["iurlhq720"] : video_info["iurl"] %>" controls>
|
|
||||||
<% video_info["adaptive_fmts"].as(Hash).each do |key, value| %>
|
|
||||||
<% url = value["url"] %>
|
|
||||||
<% type = value["type"].to_s.split(";")[0] %>
|
|
||||||
<% if type.starts_with?("audio") %>
|
|
||||||
<source src="<%= url %>" type="<%= type %>">
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
|
||||||
</video>
|
|
||||||
<div class="pure-g">
|
|
||||||
<div class="pure-u-1 pure-u-md-1-5"></div>
|
|
||||||
<div class="pure-u-1 pure-u-md-3-5"></div>
|
|
||||||
<div class="pure-u-1 pure-u-md-1-5">
|
|
||||||
<p>Views : <%= video_info["view_count"] %></p>
|
|
||||||
<p>Rating : <%= video_info["avg_rating"] %></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
Loading…
Reference in a new issue