function MuteToggle(player, options) {
    classCallCheck(this, MuteToggle);

    // hide this control if volume support is missing
    var _this = possibleConstructorReturn(this, _Button.call(this, player, options));

    checkVolumeSupport(_this, player);

    _this.on(player, ['loadstart', 'volumechange'], _this.update);
    return _this;
  }
function MuteToggle(player, options) {
    classCallCheck(this, MuteToggle);

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

    checkVolumeSupport(_this, player);

    _this.on(player, ['loadstart', 'volumechange'], _this.update);
    return _this;
  }
function MuteToggle ( player , options ) { classCallCheck ( this , MuteToggle ) ; // hide this control if volume support is missing var _this = possibleConstructorReturn ( this , _Button . call ( this , player , options ) ) ; checkVolumeSupport ( _this , player ) ; _this . on ( player , [ 'loadstart' , 'volumechange' ] , _this . update ) ; return _this ; }
Creates 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.
Creates an instance of this class .