javascript restart video code example
Example: javascript restart video
const video = document.getElementById('vidId');
video.pause();
video.currentTime = 0;
video.load();
const video = document.getElementById('vidId');
video.pause();
video.currentTime = 0;
video.load();