Optional
hooksOptional map with hooks to configure the behaviour of the ad.
Optional
loggerOptional logger instance. Must comply to the Console interface.
Defaults to window.console
Optional
pauseif true it will pause the ad unit whenever a user click on the ad
Defaults to true
Optional
responsiveif true it will resize the ad unit whenever the ad container changes sizes
Defaults to false
Optional
timeoutTimeout number in milliseconds. If set, the video ad will time out if it doesn't start within the specified time.
Optional
trackerIf provided it will be used to track the VAST events instead of the default PixelTracker.
Optional
videoOptional videoElement that will be used to play the ad.
Optional
viewabilityif true it will pause the ad whenever is not visible for the viewer.
Defaults to false
Will be called once the ad is ready with the ad unit.
the ad unit instance.
Generated using TypeDoc
Options map to start video ad with run