A cue point is a marker at a precise time point in the duration of a video. You can use cue points to trigger mid-roll ads (that is, ads that occur during playback of the video content, like a commercial break) or to separate chapters or scenes in a long-form video.
There are two types of cue points, but both simply supply a string value to the type property of the cue point object. The appropriate value is helpful only if used in custom JavaScript while processing the cue point information.
Cue points can be added to videos using the Media module or by using the Catalog API. For more information on adding cue points using the Catalog API, see the developer document Implementing Cue Points Programmatically.
To add cue points to a video, follow these steps:
{mediainfo.ad_keys}
macro is inserted. For more information, see Advertising with the IMA3 Plugin.After cue points are added to a video, at runtime, the cue points are converted into HTML5 WebVTT cue elements. When this conversion takes place, some of the cue point data, like type and cue point time, are converted into the text track. The cue point time value will be mapped into the WebVTT cue startTime
and endTime
properties. See this document for more information on the VTTCue interface.
To edit cue points in a video, follow these steps:
To delete cue points, follow these steps: