Prevent Firefox from remembering quality select on page refresh
The video quality is only changed when the quality selector changes. If it was changed and the user refreshes, Firefox remembers the selected value, but since no change event is fired, the select will display the wrong quality. Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
<div class="external-player-controls">
|
||||
<input class="speed" id="speed-control" type="text" title="Video speed">
|
||||
<script src="/youtube.com/static/js/speedyplay.js"></script>
|
||||
<select id="quality-select">
|
||||
<select id="quality-select" autocomplete="off">
|
||||
{% for src in uni_sources %}
|
||||
<option value='{"type": "uni", "index": {{ loop.index0 }}}' {{ 'selected' if loop.index0 == uni_idx and not using_pair_sources else '' }} >{{ src['quality_string'] }}</option>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user