pause method

void pause()

Implementation

void pause() {
  pausedAt = (player?.currentTime ?? 0) as double;
  _cancel();
}