How to show custom labels in the player


To display labels in the player, you can use custom elements by selecting the text type. 

The label text can be specified in the builder or passed in the code. To do this, you need to specify some unique identifier for the element in the settings.

Using this id, you can pass the text to the label in the player code with the idtext parameter

mylabel1text:"My text"

You can also pass the text of the label via JS with the text:id command at any time.

player.api("text:mylabel1","My text");

To hide the elements before sending the text via JS, you need to enable the Hide / until text update

To hide the label after a certain time after the command, you need to enable the Hide / after a certain time option.

How to show text instead of default buttons

Standard elements can also be presented in text form if you enable the Use text as an icon option in the icon settings with PRO

In this case that element will use the text from the tooltip value instead of the graphic icon. Examples can be found in the free templates.



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