Timeline
interface Timeline
The Timeline interface is a representation of a single SSAI video, that is, a video with its Ads stitched in the video itself.
Author
Sergio Martinez - smartinez@brightcove.com
Functions
Link copied to clipboard
Converts the relative content position to its absolute playhead position.
Link copied to clipboard
It returns a list of Ad markers positions with respect to the relative content timeline.
Link copied to clipboard
Returns the Ad pod at the position specified by the absolute playhead position, if the position belongs to an Ad, or null if it belongs to content.
Link copied to clipboard
It returns the content duration.
Link copied to clipboard
Calculates the corresponding content playhead position given the absolute playhead position, that is, the playhead position as if there were no Ads stitched to the content.
Link copied to clipboard
Calculates the relative playhead position given the absolute playhead position.
Link copied to clipboard
Returns the TimelineBlock at the specified absolutePlayheadPosition.
Link copied to clipboard
It returns the total duration of the video.
Link copied to clipboard
Gets the Timeline type.
Link copied to clipboard
Checks the playhead position and verifies whether we are inside an Ad block or not.
Link copied to clipboard
Notifies this timeline that an AdPod has been found as timed metadata.
Link copied to clipboard
Updates the playable window within the Timeline.