I'm kind of new with programming in web and I'm trying to figure out how to reset the video after playing it for the first time. My code is:
var video = document.getElementById('home_video');
video.addEventListener('click',function(){
video.play();
},false);
Thank you!