Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • To initialize the script, provide the following to the IrisContextAPI Object:

    • client_token

    • initial platform_id for each player on the page

Code Block
languagejs
var IrisContext = window.IrisContextAPI({
  client_token: '<your client token here>',
  platform_id: '<platform_id of the initial video>'
});

Using the Script

Once the script is initialized, you can send in the video ID of the initial video to retrieve context and IAB category information.

...