Visibilité des éléments de l'interface utilisateur.

  Désolé, cet article est disponible en anglais

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.5
2024 © PlayerJS

S'inscrire gratuitement

S'inscrire
En vous inscrivant, vous acceptez les Termes de service
Login si vous avez un compte.

Restaurer le mot de passe

Restaurer
Vous avez oublié votre adresse électronique ? Contactez-nous