Fix volume when unmuting from volume 0
This commit is contained in:
parent
11e48b0181
commit
51cb03dc32
@ -278,6 +278,7 @@ const youtube = {
|
||||
const toggle = is.boolean(input) ? input : muted;
|
||||
muted = toggle;
|
||||
instance[toggle ? 'mute' : 'unMute']();
|
||||
instance.setVolume(volume * 100);
|
||||
triggerEvent.call(player, player.media, 'volumechange');
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user