Variáveis de cor

  Desculpe, esta página está aguardando tradução para o português

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:

Blur

There is an important feature of setting color variables if you use the effect of blurring the background of various elements. In this case, the opacity should be set in the settings of the color variable, not the element whose background is blurred.


19.10.26
2024 © PlayerJS

Iniciar sessão

Iniciar sessão

Inscrever-se gratuitamente

Inscrever-se
Ao inscrever-se, o utilizador concorda com Termos de Serviço
Login se tiver uma conta

Restaurar a palavra-passe

Restaurar
Esqueceu-se do e-mail? Contacte-nos