0

I have an html video which I need to start from the beginning. I have used

video.currentTime = 0;

That resets the video to starting place but I have also set poster image for the video. If the video is completely played then poster image shows on the video but when I reset it in the middle, the poster image is not displaying.

$("#splashvideo").get(0).pause();
$('#splashvideo').get(0).currentTime = 0;
<video src="Splash.mp4" playsinline width="100%" height="450px" id="splashvideo" muted poster="slideshow_placeholder.png">
</video>
dev_sk
  • 85
  • 1
  • 9

1 Answers1

0

A reload will do the trick

$("#slideshowaudio").get(0).load();
izambl
  • 629
  • 3
  • 9