invidious-copy-2022-03-16/views/watch.ecr

15 lines
505 B
Text
Raw Normal View History

2017-11-23 07:48:55 +00:00
<h1><%= URI.unescape(video_info["title"].to_s,true) %></h1>
<video style="width: 100%" poster="<%= video_info["iurlmq"] %>" controls>
<% fmt_stream.each do |fmt| %>
<source src="<%= fmt["url"] %>" type="<%= fmt["type"].to_s.split(";")[0] %>">
<% 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">
<% fmt_stream.each do |fmt| %>
<p><%= fmt["quality"] %></p>
<% end %>
</div>
<div class="pure-u-1 pure-u-md-1-5"></div>
</div>