mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
Fixed the VolumeMenuButton options to allow passing 'vertical' to the VolumeBar. closes #1631
This commit is contained in:
parent
1325722447
commit
5d859a92b5
@ -2,7 +2,8 @@ CHANGELOG
|
||||
=========
|
||||
|
||||
## HEAD (Unreleased)
|
||||
* @heff fixed checking for child options in the parent options to allow for 'false'; ([view](https://github.com/videojs/video.js/pull/1630))
|
||||
* @heff fixed checking for child options in the parent options to allow for 'false' ([view](https://github.com/videojs/video.js/pull/1630))
|
||||
* @heff fixed the VolumeMenuButton options to allow passing 'vertical' to the VolumeBar ([view](https://github.com/videojs/video.js/pull/1631))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -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_, 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