There is a video that I'm trying to loop back so that it plays first. I listen to the event "ended" and then I set the currentTime time and reproduce it.

But the problem is that each new video loop is re-buffered.

Somehow you can do the same, but so that the video is buffered once, and then played all the time?

  • And what is the attribute loop not suitable? - Alexey Ten

1 answer 1

Attribute loop - Loops playback of the video, it repeats every time from the beginning after completion.

Syntax

 <video loop="loop"> </video>