mirror of
https://github.com/iv-org/invidious.git
synced 2026-02-28 03:09:59 +00:00
Split audio and video into seperate views
This commit is contained in:
5
src/views/player/video.ecr
Normal file
5
src/views/player/video.ecr
Normal file
@@ -0,0 +1,5 @@
|
||||
<video id="player" class="video-js" data-setup="{}" style="width:100%;" controls>
|
||||
<% fmt_stream.each do |fmt| %>
|
||||
<source src="<%= fmt["url"]? %>" type="<%= fmt["type"]? ? fmt["type"].to_s.split(";")[0] : "" %>">
|
||||
<% end %>
|
||||
</video>
|
||||
Reference in New Issue
Block a user