script/playbackstrategy/modifiers/html5.js
function isNearToCurrentTime (seconds) {
        var currentTime = getCurrentTime();
        var targetTime = getClampedTime(seconds);
        return Math.abs(currentTime - targetTime) <= CURRENT_TIME_TOLERANCE;
      }
function isNearToCurrentTime (seconds) {
        var currentTime = getCurrentTime();
        var targetTime = getClampedTime(seconds);
        return Math.abs(currentTime - targetTime) <= CURRENT_TIME_TOLERANCE;
      }
function isNearToCurrentTime ( seconds ) { var currentTime = getCurrentTime ( ) ; var targetTime = getClampedTime ( seconds ) ; return Math . abs ( currentTime - targetTime ) <= CURRENT_TIME_TOLERANCE ; }
Check whether a time value is near to the current media play time.
@param {Number} seconds The time value to test, in seconds from the start of the media
@protected
Check whether a time value is near to the current media play time .