mirror of
https://github.com/videojs/video.js.git
synced 2025-01-17 10:46:00 +02:00
@mmcc fixed an issue with the VolumeButton assuming it was vertical by default. closes #1592
This commit is contained in:
parent
4b818d9ebf
commit
f5117ae976
@ -10,6 +10,7 @@ CHANGELOG
|
||||
* @heff updated the poster to use CSS styles to display; fixed the poster not showing if not originally set ([view](https://github.com/videojs/video.js/pull/1568))
|
||||
* @mmcc fixed an issue where errors on source tags could get missed ([view](https://github.com/videojs/video.js/pull/1575))
|
||||
* @heff enhanced the event listener API to allow for auto-cleanup of listeners on other componenets and elements ([view](https://github.com/videojs/video.js/pull/1588))
|
||||
* @mmcc fixed an issue with the VolumeButton assuming it was vertical by default ([view](https://github.com/videojs/video.js/pull/1592))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -29,7 +29,7 @@ vjs.VolumeMenuButton.prototype.createMenu = function(){
|
||||
var menu = new vjs.Menu(this.player_, {
|
||||
contentElType: 'div'
|
||||
});
|
||||
var vc = new vjs.VolumeBar(this.player_, vjs.obj.merge({'vertical': true}, this.options_.volumeBar));
|
||||
var vc = new vjs.VolumeBar(this.player_, this.options_.volumeBar);
|
||||
vc.on('focus', function() {
|
||||
menu.lockShowing();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user