How to make markings and set up an age test

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.

17.1022022 © PlayerJS

Sign up free

Sign up
By signing up, you agree to Terms of Service
Login if you have an account

Restore password

Forgot email? Contact us