video-ad-sdk
Version:
VAST/VPAID SDK that allows video ads to be played on top of any player
29 lines (28 loc) • 1.1 kB
TypeScript
/**
* Interface for classes that may emit non linear VAST events.
*
* @interface NonLinearEvents
*/
/**
* Fires when the user clicked or otherwise activated a control used to pause streaming content, which either expands the ad within the player’s viewable area or “takes-over” the streaming content area by launching an additional portion of the ad.
*
* @event NonLinearEvents#acceptInvitation
*/
export declare const acceptInvitation = "acceptInvitation";
/**
* Fires when the user clicked or otherwise activated a control used to pause streaming content, which either expands the ad within the player’s viewable area or “takes-over” the streaming content area by launching an additional portion of the ad.
*
* @event NonLinearEvents#adCollapse
*/
export declare const adCollapse = "adCollapse";
/**
* Fires when the user clicked or otherwise activated a control for removing the ad.
*
* @event NonLinearEvents#close
*/
export declare const close = "close";
export declare const nonLinearEvents: {
acceptInvitation: string;
adCollapse: string;
close: string;
};