Ignore quality change if it matches existing
This commit is contained in:
parent
8b9521d5a5
commit
0f08c7c13a
@ -65,6 +65,10 @@ const html5 = {
|
|||||||
return source && Number(source.getAttribute('size'));
|
return source && Number(source.getAttribute('size'));
|
||||||
},
|
},
|
||||||
set(input) {
|
set(input) {
|
||||||
|
if (player.quality === input) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// If we're using an an external handler...
|
// If we're using an an external handler...
|
||||||
if (player.config.quality.forced && is.function(player.config.quality.onChange)) {
|
if (player.config.quality.forced && is.function(player.config.quality.onChange)) {
|
||||||
player.config.quality.onChange(input);
|
player.config.quality.onChange(input);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user