Ignore quality change if it matches existing
This commit is contained in:
		| @ -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); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user