You can enable loop playback in the settings Playback / Loop or add to the code option loop:1

var player = new Playerjs({id:"player", file:"video.mp4", loop:1});

Via JS API you can use the loop command


You can also create a custom button in the player UI for loop switching.

19.9.222024 © PlayerJS

Sign up free

Sign up
By signing up, you agree to Terms of Service
Login if you have an account

Restore password

Forgot email? Contact us