|
|
@ -60,10 +60,11 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% preferred_captions.each_with_index do |caption, i| %>
|
|
|
|
<% end %>
|
|
|
|
<track kind="captions" src="/api/v1/captions/<%= video.id %>?label=<%= caption.name.simpleText %>"
|
|
|
|
|
|
|
|
label="<%= caption.name.simpleText %>" <% if i == 0 %>default<% end %>>
|
|
|
|
<% preferred_captions.each_with_index do |caption, i| %>
|
|
|
|
<% end %>
|
|
|
|
<track kind="captions" src="/api/v1/captions/<%= video.id %>?label=<%= caption.name.simpleText %>"
|
|
|
|
|
|
|
|
label="<%= caption.name.simpleText %>" <% if i == 0 %>default<% end %>>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% captions.each do |caption| %>
|
|
|
|
<% captions.each do |caption| %>
|
|
|
|