Timeline
interface Timeline
Functions
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
Gets the current ad played
Link copied to clipboard
It returns the total duration of the video.
Link copied to clipboard
Converts the content position to its absolute position.
Link copied to clipboard
Returns the total duration of all the ads stitched in the stream
Link copied to clipboard
Gets the Timeline type.
Link copied to clipboard
Returns if an ad is playing
Link copied to clipboard
Checks if the given position crossed a cue point
Link copied to clipboard
Sets if an ad is playing
Link copied to clipboard
Sets the list of cue points to the Timeline
Link copied to clipboard
Sets the ad that is currently being played
Link copied to clipboard