Ograniczenie wiekowe

  Przepraszamy, ten artykuł jest dostępny w języku angielskim

You can add any text symbol to the player screen by creating a custom element with a text type and setting its location, size, etc.

You need to set an ID for the element and enable the Hide / After a certain time option.

Using the specified ID, you can replace the text in the created element in the player code with the customtext parameter

new Playerjs({"id":"player", "file":"video.mp4", "customtext":{"age":"+8", "smoking":"Smoking..."}});

You can also specify this parameter in the playlist in the same way.

Age test

You can also create special buttons to confirm the access for the user. Create two custom elements and configure them as you want. For example:

The element that prohibits access must be assigned the block command and specify a link to go on the click. The second element that allows entry must be assigned the unblock command. You can copy this example to your account and see how it is made.

The age test works for the entire player, it cannot be assigned to a separate playlist file. But you can turn it on / off in the player code if you set the Hide / if the parameter is not specified option and manipulate in the code (you can find an example here).


20.0.6
2024 © PlayerJS

Rejestracja

Utwórz konto
Rejestrując się, akceptujesz User Agreement
Log in, jeśli masz już konto

Przywracanie hasła

Przywracanie
Jeśli zapomniałeś adresu e-mail, napisz do nas.