vendor/videojs/video.js
function consumeTimeStamp() {
      var ts = parseTimeStamp(input);
      if (ts === null) {
        throw new ParsingError(ParsingError.Errors.BadTimeStamp,
                              "Malformed timestamp: " + oInput);
      }
      // Remove time stamp from input.
      input = input.replace(/^[^\sa-zA-Z-]+/, "");
      return ts;
    }
function consumeTimeStamp() {
      var ts = parseTimeStamp(input);
      if (ts === null) {
        throw new ParsingError(ParsingError.Errors.BadTimeStamp,
                              "Malformed timestamp: " + oInput);
      }
      // Remove time stamp from input.
      input = input.replace(/^[^\sa-zA-Z-]+/, "");
      return ts;
    }
function consumeTimeStamp ( ) { var ts = parseTimeStamp ( input ) ; if ( ts === null ) { throw new ParsingError ( ParsingError . Errors . BadTimeStamp , "Malformed timestamp: " + oInput ) ; } // Remove time stamp from input. input = input . replace ( / ^[^\sa-zA-Z-]+ / , "" ) ; return ts ; }
4.1 WebVTT timestamp
4 . 1 WebVTT timestamp