Answers for "jquery play video from start to end"

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 "Javascript"

Browse Popular Code Answers by Language