That is why we first test for `!isFinite(videoPlayer.currentTime) ||` and `videoPlayer.currentTime <= 0` . Only when `currentTime` is greater than 0, we know for certain that the video is playing, and we can carry on.