Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

stop a video jquery

$('#playButton').click(function(event){
  $('#theVideo').get(0).play(); 
  setTimeout(function(){
    $('#theVideo').get(0).pause();
    $('#theVideo').get(0).currentTime = 0;
  }, 7000);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stop #video #jquery
ADD COMMENT
Topic
Name
3+6 =