function parseTimeParam (url, pattern) {
  const match = url.match(pattern)
  if (match) {
    const stamp = match[1]
    if (stamp.match(MATCH_START_STAMP)) {
      return parseTimeString(stamp)
    }
    if (MATCH_NUMERIC.test(stamp)) {
      return parseInt(stamp)
    }
  }
  return undefined
}
// and return the start time in seconds
and return the start time in seconds
and return the start time in seconds
function parseTimeParam (url, pattern) {
  const match = url.match(pattern)
  if (match) {
    const stamp = match[1]
    if (stamp.match(MATCH_START_STAMP)) {
      return parseTimeString(stamp)
    }
    if (MATCH_NUMERIC.test(stamp)) {
      return parseInt(stamp)
    }
  }
  return undefined
}
function parseTimeParam ( url , pattern ) { const match = url . match ( pattern ) if ( match ) { const stamp = match [ 1 ] if ( stamp . match ( MATCH_START_STAMP ) ) { return parseTimeString ( stamp ) } if ( MATCH_NUMERIC . test ( stamp ) ) { return parseInt ( stamp ) } } return undefined }
and return the start time in seconds
and return the start time in seconds