videojs-contrib-ads

Integrator Docs | Developer Docs | Github

Common Interface

videojs-contrib-ads does not implement these. This page establishes a convention used by some ad plugins that you may want to consider sending for consistency as they may be useful.

Events

Properties

player.ads.provider = {
  "type": `String`,
  "event": `Object`
}

player.ads.ad = {
  "type": `String`,
  "index": `Number`,
  "id": `String`,
  "duration": `Number`,
  "currentTime": `Function`
}

player.ads.pod = {
  "id": `String`,
  "size": `Number`
}