Skip to the content.

Handling VPAID Ads

It’s recommend that when playing VPAID ads, the player will not add any custom UI of its own, which may result in interacting issues with VPAID ads.
To make sure that won’t happened, configure useStyledLinearAds and set it to true before VPAID ad starts playing. This will tell the player to let the IMA SDK handle the UI itself.

Configure on player setup

const player = KalturaPlayer.setup({
  plugins: {
    ima: {
      ...
      adsRenderingSettings: {
        useStyledLinearAds: true
      },
      ...
    }
  }
});

Configure before change media

player.configure({
  plugins: {
    ima: {
      adsRenderingSettings: {
        useStyledLinearAds: true
      }
    }
  }
});

Handling VPAID Modes

If you require to alter the VpaidMode, simply change the value of the IMA player configuration ima.vpaidMode accordingly.

ima.vpaidMode

Type: string
Default: "ENABLED"
Description: Alters the VpaidMode.

Values

Configure on player setup

const player = KalturaPlayer.setup({
  plugins: {
    ima: {
      ...
      vpaidMode: 'ENABLED'
      ...
    }
  }
});