AdCuePointComponent
Before Video playback, converts Slots in an IAdContext into relevant CuePoints, then during playback is responsible for handling FreeWheel ad Cuepoints emitted by the VideoController. Before Video playback (most likely during SET_SOURCE), the AdCueComponent creates a series of CuePoints based on the current populated AdContext.
It will create one CuePoint for all pre-roll ads (with CuePoint.Type of BEFORE), one CuePoint for all post-roll ads, and one for each mid-roll (POINT_IN_TIME) and overlay ad.
Due to the nature of the hooks in to the EventEmitter that the AdCuePointComponent creates, it should be instantiated as soon as possible after the FreeWheelController
See also
Properties
Link copied to clipboard
Flag that when added to a COMPLETED event enables the clearing of the playedSlots, so ads will be shown again upon replay.
Link copied to clipboard
current playing slots which block the player activity
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Given an instance of IAdContext, parses the Ad slots contained in the context and generates CuePoints.
Link copied to clipboard
Link copied to clipboard
Skips the currently playing advertisement within the active Ad break (a.k.
Link copied to clipboard
Skips the current advertisement break (a.k.
Link copied to clipboard
Functions the same as skipCurrentAdBreak