Add label to HLS

This commit is contained in:
Omar Roth 2018-09-20 09:45:49 -05:00
parent 62380933b2
commit cefb5d679f

View file

@ -4,7 +4,7 @@
<% if params[:video_loop] %>loop<% end %> <% if params[:video_loop] %>loop<% end %>
<% if params[:controls] %>controls<% end %>> <% if params[:controls] %>controls<% end %>>
<% if hlsvp %> <% if hlsvp %>
<source src="<%= hlsvp %>" type="application/x-mpegURL"> <source src="<%= hlsvp %>" type="application/x-mpegURL" label="livestream">
<% else %> <% else %>
<% if params[:listen] %> <% if params[:listen] %>
<% audio_streams.each_with_index do |fmt, i| %> <% audio_streams.each_with_index do |fmt, i| %>