Function getCurrentTimeRelativeToSeekableRange

  • Returns the currentTime - seekableRange.start. This ensures a user-friendly currentTime after a live stream transitioned to VoD.

    Parameters

    • player: PlayerAPI

    Returns number