Ad placeholders

  抱歉,此页面正在等待翻译成土耳其语

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

//ads.site.com/vast.xml?site={site_id}&cat=[category]

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

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

The final request will be as follows.

//ads.site.com/vast.xml?site=123&cat=video

19.10.26
2024 © PlayerJS

登录

登录

免费注册

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

恢复密码

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