Trigger qualityrequested event unconditionally when trying to set it (needed for streaming libraries to be able to listen)

This commit is contained in:
Albin Larsson
2018-06-11 20:41:53 +02:00
parent 81ee3f759c
commit 6d2dad5810
3 changed files with 4 additions and 14 deletions

View File

@ -57,11 +57,6 @@ const html5 = {
return;
}
// Trigger change event
utils.dispatchEvent.call(player, player.media, 'qualityrequested', false, {
quality: input,
});
// Get current state
const { currentTime, playing } = player;