Answers for "stop video on click jquery"

0

stop a video jquery

$('#playButton').click(function(event){
  $('#theVideo').get(0).play(); 
  setTimeout(function(){
    $('#theVideo').get(0).pause();
    $('#theVideo').get(0).currentTime = 0;
  }, 7000);
});
Posted by: Guest on August-17-2020
0

trigger play video jquery

setTimeout(function(){ jQuery('video').trigger('play'); }, 1000);
Posted by: Guest on October-08-2020

Code answers related to "stop video on click jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language