利用链接变量保护内容

  抱歉,这篇文章有英文版

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.5
2024 © PlayerJS

登录

登录

免费注册

注册
注册即表示您同意服务条款
登录(如果您有帐户)

恢复密码

恢复
忘记电子邮件?联系我们