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

    var _this = possibleConstructorReturn(this, _Button.call(this, player, options));

    _this.controlText(options && options.controlText || _this.localize('Close'));
    return _this;
  }
function CloseButton(player, options) {
    classCallCheck(this, CloseButton);

    var _this = possibleConstructorReturn(this, _Button.call(this, player, options));

    _this.controlText(options && options.controlText || _this.localize('Close'));
    return _this;
  }
function CloseButton ( player , options ) { classCallCheck ( this , CloseButton ) ; var _this = possibleConstructorReturn ( this , _Button . call ( this , player , options ) ) ; _this . controlText ( options && options . controlText || _this . localize ( 'Close' ) ) ; return _this ; }
Creates an instance of the this class.

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

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