mirror of
https://github.com/videojs/video.js.git
synced 2024-12-29 02:57:21 +02:00
Close GH-720: unmute if the user drags the volume bar slider.
This commit is contained in:
parent
2662ad9c96
commit
f07caa2b97
@ -76,6 +76,10 @@ vjs.VolumeBar.prototype.createEl = function(){
|
||||
};
|
||||
|
||||
vjs.VolumeBar.prototype.onMouseMove = function(event) {
|
||||
if (this.player_.muted()) {
|
||||
this.player_.muted(false);
|
||||
}
|
||||
|
||||
this.player_.volume(this.calculateDistance(event));
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user