Loop


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

player.api("loop",1);

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


19.9.112024 © PlayerJS

Sign up free

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

Restore password

Restore
Forgot email? Contact us