...
Initial Video: Using the getVideoInfo route to retrieve context or IAB data
Parameters for this getVideoInfo route
...
platform_id: reference ID of the video. Required
Steps
...
Send platform_id to getVideoInfo route.
Retrieve context or IAB categories from getVideoInfo,.
Send context or IAB categories in the pre-roll ad call for the initial video.
...
Recommended Videos: Using the getRecommendationInfo route to retrieve context or IAB data
Steps
Call
getRecommendationsInfo
route as a part of callbacks for IRIS.TV /watch and /next API routes.Store data returned from
getRecommendationsInfo
so it can be used to retrieve data each recommended video.On video load, query player for ID of the video and then query stored platform_id values for context or IAB categories.
Send context of IAB category data in the pre-roll ad call for the video.
...