Properties | |
---|---|
auto
|
Set to false if you want to have fine grained control over the positioning of all
non-linear ads.
|
bitrate
|
Maximum recommended bitrate. |
enable
|
Enables preloading of video assets. |
load
|
Timeout (in milliseconds) when loading a video ad media file. |
mime
|
Only supported for linear video mime types. |
play
|
For VMAP and ad rules playlists, only play ad breaks scheduled after this time (in
seconds).
|
restore
|
Specifies whether the SDK should record the state of the provided video element
before it is used for ads, and restore the state after the ads have completed.
|
ui
|
Specifies whether to display specific IMA UI elements. |
use
|
Render linear ads with full UI styling. |
use
|
Render non-linear ads with a close and recall button. |
Properties
autoAlign
autoAlign: boolean
bitrate
bitrate: number
-1
, means the SDK selects the maximum
bitrate.
enablePreloading
enablePreloading: boolean
loadVideoTimeout
loadVideoTimeout: number
mimeTypes
mimeTypes: string[]
playAdsAfterTime
playAdsAfterTime: number
restoreCustomPlaybackStateOnAdBreakComplete
restoreCustomPlaybackStateOnAdBreakComplete:
boolean
uiElements
uiElements: string[]
useStyledLinearAds
useStyledLinearAds: boolean
useStyledNonLinearAds
useStyledNonLinearAds: boolean