Media URL variables

With PRO you can use file URL variables {v1} - {v5} for additional content protection. Firstly you need enable the option in the Plugins / Protection / Media URL variables in the builder and add the replacement rules. It can be just text or the name of a global variable with js: at the beginning (the player will find this variable and substitute with it value). Variable names must begin with a Latin letter.

For example the link specified in the code or playlist looks like{v1}/file{v2}.mp4

The variable kkk is defined in the global space

var kkk = "123";

The URL after changing the variables inside the player is ready for playback

2018 - 2022 © PlayerJS


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


Your name
Order player

Restore password

Forgot email? Contact us