Dear @baferti
I assume this is not for a Looping effect? The following solution worked for me:
https://stackoverflow.com/questions/8132890/make-html5-video-go-to-first-frame-when-it-ends
The <video> element must be targeted in the code below. Here getElementById looks for the element with the id "video" (i have added it myself for testing) [image: Screen Shot 2021-10-21 at 2.40.34 PM.png]
var video = document.getElementById('video')
// When the 'ended' event fires
video.addEventListener('ended', function(){
// Reset the video to 0
video.currentTime = 0;
// And pause ready for
video.pause();
});
Video is set back to 0:00 timing. Getting it to work with your particular design will be up to you, but i hope this helps!
Best wishes & have a wonderful day 🏖
Richard