Color variables


You can change the color of the player interface in the code or via the API. Just set the color variables in the PRO settings Service / Color variables

Then you place color variables for any UI elements.

The values can be changed in the player code.

let player = new Playerjs({id:"player",file:"video.mp4",color1:"#ff0000"});

Also you can use API.

player.api("color2","#ffff00");

Example with a free skin:


17.712022 © 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