summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsaltycrys <73420320+saltycrys@users.noreply.github.com>2020-12-19 17:48:20 +0100
committersaltycrys <73420320+saltycrys@users.noreply.github.com>2020-12-19 18:37:41 +0100
commiteed78c960d01a6945403d82ec262087e9da0b8e3 (patch)
tree63b2826685acbcdcf9701eb787ff80ab9de0f625 /src
parenteea7ca9b72ac71560900b8d744287a97ac23c4eb (diff)
downloadinvidious-eed78c960d01a6945403d82ec262087e9da0b8e3.tar.gz
invidious-eed78c960d01a6945403d82ec262087e9da0b8e3.tar.bz2
invidious-eed78c960d01a6945403d82ec262087e9da0b8e3.zip
Improve DASH quality preference
Besides `auto`, `best` and `worst` it is now possible to select a target height. If the target height is not available the closest lower height is selected.
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/preferences.ecr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr
index 46aa714c..9eac10a7 100644
--- a/src/invidious/views/preferences.ecr
+++ b/src/invidious/views/preferences.ecr
@@ -61,7 +61,7 @@
<div class="pure-control-group">
<label for="quality_dash"><%= translate(locale, "Preferred dash video quality: ") %></label>
<select name="quality_dash" id="quality_dash">
- <% {"auto", "best", "worst"}.each do |option| %>
+ <% {"auto", "best", "4320p", "2160p", "1440p", "1080p", "720p", "480p", "360p", "240p", "144p", "worst"}.each do |option| %>
<option value="<%= option %>" <% if preferences.quality_dash == option %> selected <% end %>><%= translate(locale, option) %></option>
<% end %>
</select>