Add administrator option to disable proxying

This commit is contained in:
Omar Roth
2019-07-07 09:07:53 -05:00
parent 5fd3ed782f
commit 2cc25b1e6e
6 changed files with 46 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
<% if params.autoplay %>autoplay<% end %>
<% if params.video_loop %>loop<% end %>
<% if params.controls %>controls<% end %>>
<% if hlsvp %>
<% if hlsvp && !CONFIG.disabled?("livestreams") %>
<source src="<%= hlsvp %>?local=true" type="application/x-mpegURL" label="livestream">
<% else %>
<% if params.listen %>