Ad placeholders

Sometimes you need to pass special parameters in ad links that depend on the context.


Please use the vast_replace parameter in the code to replace placeholders.

var player = new Playerjs({id:"player", file:"//", vast_replace:{"{site_id}":"123","[category]":"video"}});

The final request will be as follows.


2024 © PlayerJS

Sign up free

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

Restore password

Forgot email? Contact us