Vídeo JS Toggle Play PAUSE

function playPause() {
 var video = document.querySelector("video");
 if (video.paused)
   video.play(); 
 else 
   video.pause();
}
Hilarious Hyena