AdScheduler.onPodEnd event
Raised when an ad pod ends.
Syntax
function handler(adScheduler, eventData) { /* Your code */ } // addEventListener syntax adScheduler.addEventListener("podend", handler); adScheduler.removeEventListener("podend", handler); - or - adScheduler.onpodend = handler;
Event handler parameters
- adScheduler
-
Type: AdScheduler
The AdScheduler that raised the event.
- eventData
-
Type: Object
An object that contains the following members:
- startTime: The pod's start time, in seconds.
- pod: An object that represents the pod. This object is not intended to be used in your code.
Remarks
A pod is a group of ads that play in a sequence, such as a group of ads that play during a commercial break. For more details, see the IAB Digital Video Ad Serving Template (VAST) specification.
Requirements
|
Client |
Windows 10 |
|---|---|
|
Namespace |
MicrosoftNSJS.Advertising |
|
Library |
|
See also
Show: