diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-12-08 20:12:22 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-12-08 20:12:22 -0600 |
| commit | b030149d7656eceb09d64d3100851381ea6b9663 (patch) | |
| tree | 85a5da89a1d79e9597afc7a7326073cabbc1a044 | |
| parent | b686d76d8cc0fa590f7ff45c1aa1352cf02cf5a0 (diff) | |
| download | invidious-b030149d7656eceb09d64d3100851381ea6b9663.tar.gz invidious-b030149d7656eceb09d64d3100851381ea6b9663.tar.bz2 invidious-b030149d7656eceb09d64d3100851381ea6b9663.zip | |
Revert "Use <audio> tag for audio only"
This reverts commit e6bc5bb35dbaa3dc268c272fe3f9d0d62502c1c6.
| -rw-r--r-- | src/invidious/views/components/player.ecr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr index 1f70270b..f3ed775f 100644 --- a/src/invidious/views/components/player.ecr +++ b/src/invidious/views/components/player.ecr @@ -1,4 +1,4 @@ -<<% if params[:listen]%>audio<% else %>video<% end %> style="width:100%" playsinline poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>" +<video style="width:100%" playsinline poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>" id="player" class="video-js" onmouseenter='this["data-title"]=this["title"];this["title"]=""' onmouseleave='this["title"]=this["data-title"];this["data-title"]=""' @@ -36,7 +36,7 @@ label="<%= caption.name.simpleText %>"> <% end %> <% end %> -</<% if params[:listen]%>audio<% else %>video<% end %>> +</video> <script> var options = { |
