stop a video jquery

Solutions on MaxInterview for stop a video jquery by the best coders in the world

showing results for - "stop a video jquery"
Izzie
16 Jun 2017
1$('#playButton').click(function(event){
2  $('#theVideo').get(0).play(); 
3  setTimeout(function(){
4    $('#theVideo').get(0).pause();
5    $('#theVideo').get(0).currentTime = 0;
6  }, 7000);
7});
Juliana
20 Jan 2020
1var media = $("#video-id").get(0);
2media.pause();
3media.currentTime = 0;