mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Use <audio> tag for audio only
This commit is contained in:
parent
6ca7a71db9
commit
e6bc5bb35d
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
<video style="width:100%" playsinline poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>"
|
<<% if params[:listen]%>audio<% else %>video<% end %> style="width:100%" playsinline poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>"
|
||||||
id="player" class="video-js"
|
id="player" class="video-js"
|
||||||
onmouseenter='this["title"]=""'
|
onmouseenter='this["title"]=""'
|
||||||
<% if params[:autoplay] %>autoplay<% end %>
|
<% if params[:autoplay] %>autoplay<% end %>
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
label="<%= caption.name.simpleText %>">
|
label="<%= caption.name.simpleText %>">
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</video>
|
</<% if params[:listen]%>audio<% else %>video<% end %>>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var options = {
|
var options = {
|
||||||
|
|
Loading…
Reference in a new issue