VideoJS

How to set up OverStream Banner on VideoJS using a VPAID tag

  1. To begin, find the video embed code for the content you would like to serve Overstream ads onto.
  2. Set the adTagUrl within your embed code, adding your QUASAR tag as shown below, making sure you replace xxxxx with your PID:
var player = videojs('content_video');
var options = {
  id: 'content_video',
  adTagUrl: 'https://quasar.coull.com/quasar?pid=xxxxx&ad_type=ov&page_url=http://example.org&player_size=640x480'
};

3.Make sure you have the relevant functions are called on the players start event:

player.one(startEvent, function() {
    player.ima.initializeAdDisplayContainer();
    player.ima.requestAds();
    player.play();
});

If you have any issues with setting up OverStream, please see how to get support.

© Coull 2019