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:
parent
9f44e0474b
commit
6e39ae19b6
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user