getRelativePlayheadPosition
Calculates the relative playhead position given the absolute playhead position.
If the absolute playhead position corresponds to: - a content block, it will return getContentPlayheadPosition. - a single Ad block, the relative position of the Ad will be returned. - an Ad that belongs to an Ad pod (a sequenced group of ads), the position relative to the Ad pod will be returned.
If the absolute playhead position is outside the bounds of the total length, 0 will be returned.
Return
the corresponding relative playhead position in milliseconds.
Parameters
absolutePlayheadPosition
the absolute playhead position in milliseconds.