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.


20.0.5
2024 © PlayerJS

Sign up

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

Restore password

Restore
Forgot email? Contact us