|
|
@ -12,10 +12,8 @@
|
|
|
|
<div class="h-box">
|
|
|
|
<div class="h-box">
|
|
|
|
<video 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 vjs-16-9" data-setup="{}"
|
|
|
|
id="player" class="video-js vjs-16-9" data-setup="{}"
|
|
|
|
<% if preferences %>
|
|
|
|
<% if autoplay %>autoplay<% end %>
|
|
|
|
<% if preferences.autoplay %>autoplay<% end %>
|
|
|
|
<% if video_loop %>loop<% end %>
|
|
|
|
<% if preferences.video_loop %>loop<% end %>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
controls>
|
|
|
|
controls>
|
|
|
|
<% if listen %>
|
|
|
|
<% if listen %>
|
|
|
|
<% audio_streams.each_with_index do |fmt, i| %>
|
|
|
|
<% audio_streams.each_with_index do |fmt, i| %>
|
|
|
|