mirror of
https://github.com/videojs/video.js.git
synced 2025-01-19 10:54:16 +02:00
Merge pull request #321 from Sundrique/volume-handler-fix
Fix volume handler initial position
This commit is contained in:
commit
1905e59bdb
2
src/js/controls.js
vendored
2
src/js/controls.js
vendored
@ -786,6 +786,8 @@ vjs.VolumeControl.prototype.createEl = function(){
|
||||
*/
|
||||
vjs.VolumeBar = function(player, options){
|
||||
goog.base(this, player, options);
|
||||
|
||||
setTimeout(vjs.bind(this, this.update), 0); // update when elements is in DOM
|
||||
};
|
||||
goog.inherits(vjs.VolumeBar, vjs.Slider);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user