广告与VAST无法在JWPlayer 6.2中工作

时间:2015-07-21 13:27:18

标签: php jwplayer ads

我使用此代码加载带有adspeed广告的JWPlayer 6.2播放器,我按照其网站上的说明但广告未加载,它仍然只加载文件,你能帮我加载广告吗?

jwplayer("sr_player").setup({ <? php

  if (!empty($movFiles['geo'][1]['sd'])) {

    ?>
    sources: [{
      file: "<?=$hd_file?>",
      label: "HD სწრაფი ინტერნეტი"
    }, {
      file: "<?=$lq_file?>",
      label: "SD ნელი ინტერნეტი"
    }], <? php
  } else { ?>
    file: "<?=$hd_file?>", <? php
  } ?>
  'width': '100%',
  'height': '460',
  startparam: "start",
  primary: 'html5',
  aboutlink: "",
  //abouttext:"Team DGT (look in index5.html to change)",
  modes: [],
  advertising: {
    client: 'vast',
    tag: 'http://g.adspeed.net/ad.php?do=vast&aid=235939&vastver=3&cb=1437483866'
  }
});

0 个答案:

没有答案