getContentPlayheadPosition
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.
If the absolute playhead position corresponds to: - a pre-roll Ad, 0 will be returned. - a post-roll Ad, the content length will be returned. - a mid-roll Ad, the ad offset with respect to the content will be returned.
If the absolute playhead position is outside the bounds of the total length, 0 will be returned.
Return
the corresponding content playhead position in milliseconds.
Parameters
absolutePlayheadPosition
the absolute playhead position in milliseconds.