Whether snapback is enabled. When enabled and the user seeks over multiple ad breaks, the last ad break that was seeked past will be played.
A source transformer which will receive the source as returned from Google DAI before loading it in the player. This capability can be useful if you need to add authentication tokens or signatures to the source URL as returned by Google.
Returns the content time without ads for a given stream time. Returns the given stream time for live streams.
The stream time with inserted ads (in seconds).
Replaces all the ad tag parameters used for upcoming ad requests for a live stream.
Optional
adTagParameters: Record<string, string>The new ad tag parameters.
Returns the stream time with ads for a given content time. Returns the given content time for live streams.
The content time without any ads (in seconds).
The Google DAI API.
Remarks
- Available since v3.7.0.