Visibilidade dos elementos da IU.

  Desculpe, este artigo está disponível em inglês

You can hide any element of the player in the player settings. In the PRO there are many options that allow you to implement any logic. You can include them in any combination.

You can hide the element in the code if you enable the option if the parameter is specified and specify the invented name of the variable.

If you specify this variable in the code, the button will no longer be displayed.

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

Control outside

You can control the visibility of an element from the outside by giving it an ID and toggle via JS. In this case, the element must be located on its own (not on the control panel).

document.getElementById("element_ID").style.display = "none";

20.0.0
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