Video restart Javascript

const video = document.getElementById('vidId');

video.pause();
video.currentTime = 0;
video.load();
Lioruby