jquery onclick pause video time code example
Example 1: stop a video jquery
$('#playButton').click(function(event){
$('#theVideo').get(0).play();
setTimeout(function(){
$('#theVideo').get(0).pause();
$('#theVideo').get(0).currentTime = 0;
}, 7000);
});
Example 2: stop a video jquery
var media = $("#video-id").get(0);
media.pause();
media.currentTime = 0;