Ad placeholders

  Üzgünüz, bu sayfa Türkçeye çevrilmeyi bekliyor

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

Ücretsiz kaydolun

Kaydolun
Kaydolarak, Hizmet Şartlarını
Login hesabınız varsa kabul etmiş olursunuz

Şifreyi geri yükle

Geri Yükleme
E-posta adresinizi mi unuttunuz? Bize ulaşın