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.



2018 - 2021 © PlayerJS

Login

Restore password
Sign up
Log in

Sign up free

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

Enterprise

Your name
Website
Email
Phone
Description
Order player

Restore password

Restore
Forgot email? Contact us