platform/video.videojs/dist/video.es.js
function Slider(player, options) {
    classCallCheck(this, Slider);

    // Set property names to bar to match with the child Slider class is looking for
    var _this = possibleConstructorReturn(this, _Component.call(this, player, options));

    _this.bar = _this.getChild(_this.options_.barName);

    // Set a horizontal or vertical class on the slider depending on the slider type
    _this.vertical(!!_this.options_.vertical);

    _this.on('mousedown', _this.handleMouseDown);
    _this.on('touchstart', _this.handleMouseDown);
    _this.on('focus', _this.handleFocus);
    _this.on('blur', _this.handleBlur);
    _this.on('click', _this.handleClick);

    _this.on(player, 'controlsvisible', _this.update);

    if (_this.playerEvent) {
      _this.on(player, _this.playerEvent, _this.update);
    }
    return _this;
  }
function Slider(player, options) {
    classCallCheck(this, Slider);

    // Set property names to bar to match with the child Slider class is looking for
    var _this = possibleConstructorReturn(this, _Component.call(this, player, options));

    _this.bar = _this.getChild(_this.options_.barName);

    // Set a horizontal or vertical class on the slider depending on the slider type
    _this.vertical(!!_this.options_.vertical);

    _this.on('mousedown', _this.handleMouseDown);
    _this.on('touchstart', _this.handleMouseDown);
    _this.on('focus', _this.handleFocus);
    _this.on('blur', _this.handleBlur);
    _this.on('click', _this.handleClick);

    _this.on(player, 'controlsvisible', _this.update);

    if (_this.playerEvent) {
      _this.on(player, _this.playerEvent, _this.update);
    }
    return _this;
  }
function Slider ( player , options ) { classCallCheck ( this , Slider ) ; // Set property names to bar to match with the child Slider class is looking for var _this = possibleConstructorReturn ( this , _Component . call ( this , player , options ) ) ; _this . bar = _this . getChild ( _this . options_ . barName ) ; // Set a horizontal or vertical class on the slider depending on the slider type _this . vertical ( ! ! _this . options_ . vertical ) ; _this . on ( 'mousedown' , _this . handleMouseDown ) ; _this . on ( 'touchstart' , _this . handleMouseDown ) ; _this . on ( 'focus' , _this . handleFocus ) ; _this . on ( 'blur' , _this . handleBlur ) ; _this . on ( 'click' , _this . handleClick ) ; _this . on ( player , 'controlsvisible' , _this . update ) ; if ( _this . playerEvent ) { _this . on ( player , _this . playerEvent , _this . update ) ; } return _this ; }
Create an instance of this class

@param {Player} player
The `Player` that this class should be attached to.

@param {Object} [options]
The key/value store of player options.
Create an instance of this class