_recordPlaybackData() {

    // Get the current time and compute the delta from the last run time
    var date = Date.now(),
        delta = date - this._lastRun;

    // Update the last run date to now
    this._lastRun = date;

    // Add the delta into the played amount
    this._playedAmount += delta;

    // During each interval, asynchronously ask for the current position of the
    // video and potentially store if as the farthest reach
    this.getPosition().then(
      function updateFurthestReach(pos) {

        // If the position of the player is further than the furthest reach point,
        // then record it
        if (this._furthestReach < pos) {
          this._furthestReach = pos|0;
        }
      }.bind(this)
    );
  }
/**
   * Gets the number of milliseconds that have passed since the last time
   * a duration check has run and adds it to the cumulative playback duration.
   * Fires a message to the PBS Message API to request the current playback
   * position to determine the furthest point reached in the video
   *
   * @private
   */
Gets the number of milliseconds that have passed since the last time
a duration check has run and adds it to the cumulative playback duration.
Fires a message to the PBS Message API to request the current playback
position to determine the furthest point reached in the video

@private
Gets the number of milliseconds that have passed since the last time a duration check has run and adds it to the cumulative playback duration . Fires a message to the PBS Message API to request the current playback position to determine the furthest point reached in the video @private
_recordPlaybackData() {
    var date = Date.now(),
        delta = date - this._lastRun;
    this._lastRun = date;
    this._playedAmount += delta;
    this.getPosition().then(
      function updateFurthestReach(pos) {
        if (this._furthestReach < pos) {
          this._furthestReach = pos|0;
        }
      }.bind(this)
    );
  }
_recordPlaybackData ( ) { var date = Date . now ( ) , delta = date - this . _lastRun ; this . _lastRun = date ; this . _playedAmount += delta ; this . getPosition ( ) . then ( function updateFurthestReach ( pos ) { if ( this . _furthestReach < pos ) { this . _furthestReach = pos | 0 ; } } . bind ( this ) ) ; }
Gets the number of milliseconds that have passed since the last time
 a duration check has run and adds it to the cumulative playback duration.
Gets the number of milliseconds that have passed since the last time a duration check has run and adds it to the cumulative playback duration .
// Get the current time and compute the delta from the last run time // Update the last run date to now // Add the delta into the played amount // During each interval, asynchronously ask for the current position of the // video and potentially store if as the farthest reach // If the position of the player is further than the furthest reach point, // then record it