function ChaptersButton(player, options, ready) {
    classCallCheck(this, ChaptersButton);
    return possibleConstructorReturn(this, _TextTrackButton.call(this, player, options, ready));
  }
function ChaptersButton(player, options, ready) {
    classCallCheck(this, ChaptersButton);
    return possibleConstructorReturn(this, _TextTrackButton.call(this, player, options, ready));
  }
function ChaptersButton ( player , options , ready ) { classCallCheck ( this , ChaptersButton ) ; return possibleConstructorReturn ( this , _TextTrackButton . call ( this , player , options , ready ) ) ; }
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.

@param {Component~ReadyCallback} [ready]
The function to call when this function is ready.
Creates an instance of this class .