dmca_content:{type:Array(String),default:[]ofString},# For compliance with DMCA, disables download widget using list of video IDs
check_tables:{type:Bool,default:false},# Check table integrity, automatically try to add any missing columns, create tables, etc.
cache_annotations:{type:Bool,default:false},# Cache annotations requested from IA, will not cache empty annotations or annotations that only contain cards
banner:{type:String?,default:nil},# Optional banner to be displayed along top of page for announcements, etc.
hsts:{type:Bool?,default:true},# Enables 'Strict-Transport-Security'. Ensure that `domain` and all subdomains are served securely
dmca_content:{type:Array(String),default:[]ofString},# For compliance with DMCA, disables download widget using list of video IDs
check_tables:{type:Bool,default:false},# Check table integrity, automatically try to add any missing columns, create tables, etc.
cache_annotations:{type:Bool,default:false},# Cache annotations requested from IA, will not cache empty annotations or annotations that only contain cards
banner:{type:String?,default:nil},# Optional banner to be displayed along top of page for announcements, etc.
hsts:{type:Bool?,default:true},# Enables 'Strict-Transport-Security'. Ensure that `domain` and all subdomains are served securely
<input name="local" id="local" type="checkbox" <% if preferences.local %>checked<% end %>>
<input name="local" id="local" type="checkbox" <% if preferences.local && !CONFIG.disabled?("local") %>checked<% end %> <% if CONFIG.disabled?("local") %>disabled<% end %>>
</div>
<div class="pure-control-group">
@ -56,7 +56,9 @@ function update_value(element) {
<label for="quality"><%= translate(locale, "Preferred video quality: ") %></label>
<select name="quality" id="quality">
<% {"dash", "hd720", "medium", "small"}.each do |option| %>
<option value="<%= option %>" <% if preferences.quality == option %> selected <% end %>><%= translate(locale, option) %></option>
<% if !(option == "dash" && CONFIG.disabled?("dash")) %>
<option value="<%= option %>" <% if preferences.quality == option %> selected <% end %>><%= translate(locale, option) %></option>