用户界面元素可见性。

  抱歉,这篇文章有英文版

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

登录

登录

免费注册

注册
注册即表示您同意服务条款
登录(如果您有帐户)

恢复密码

恢复
忘记电子邮件?联系我们