pause method

void pause ()

Pause the video.

Implementation

void pause() {
  if (isPlaying) {
    videoElement.pause();
  }
}