Protezione dei contenuti con le variabili di collegamento

  Siamo spiacenti, questo articolo è disponibile in inglese

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

http://site.com/{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

http://site.com/ppp/file123.mp4

20.0.1
2024 © PlayerJS

Iscriviti gratuitamente

Iscriviti
Iscrivendosi, si accettano Termini di servizio
Login se si possiede un account

Ripristino della password

Ripristino
Hai dimenticato l'e-mail? Contattaci