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

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

    _this.throttledUpdateContent = throttle(bind(_this, _this.updateContent), 25);
    _this.on(player, ['timeupdate', 'durationchange'], _this.throttledUpdateContent);
    return _this;
  }
function RemainingTimeDisplay(player, options) {
    classCallCheck(this, RemainingTimeDisplay);

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

    _this.throttledUpdateContent = throttle(bind(_this, _this.updateContent), 25);
    _this.on(player, ['timeupdate', 'durationchange'], _this.throttledUpdateContent);
    return _this;
  }
function RemainingTimeDisplay ( player , options ) { classCallCheck ( this , RemainingTimeDisplay ) ; var _this = possibleConstructorReturn ( this , _Component . call ( this , player , options ) ) ; _this . throttledUpdateContent = throttle ( bind ( _this , _this . updateContent ) , 25 ) ; _this . on ( player , [ 'timeupdate' , 'durationchange' ] , _this . throttledUpdateContent ) ; 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 .