diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-03-16 15:28:45 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-03-16 15:28:45 -0500 |
| commit | dde7a643e93b99952e25b9dd48e26c2629bb393b (patch) | |
| tree | 0f315bb23f6c3f5b83a6dd6039b3ec72246a3ced | |
| parent | 72b4d6db6b18abcee06c847f6d875b1107908353 (diff) | |
| download | invidious-dde7a643e93b99952e25b9dd48e26c2629bb393b.tar.gz invidious-dde7a643e93b99952e25b9dd48e26c2629bb393b.tar.bz2 invidious-dde7a643e93b99952e25b9dd48e26c2629bb393b.zip | |
Add playsinline for watch.ecr
| -rw-r--r-- | src/views/player/video.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/player/video.ecr b/src/views/player/video.ecr index a77d8fbb..7f5900e3 100644 --- a/src/views/player/video.ecr +++ b/src/views/player/video.ecr @@ -1,4 +1,4 @@ -<video poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>" id="player" class="video-js" data-setup="{}" style="width:100%;" controls> +<video playsinline poster="<%= thumbnail %>" title="<%= HTML.escape(video.title) %>" id="player" class="video-js" data-setup="{}" style="width:100%;" controls> <% fmt_stream.each_with_index do |fmt, i| %> <source src="<%= fmt["url"] %>" type='<%= fmt["type"] %>' label="<%= fmt["quality"] %>" selected="<%= i == 0 ? true : false %>"> <% end %> |
