Extends
AdsRenderingSettingsInterface
Defines parameters that control the rendering of ads.
| Constructors | |
|---|---|
constructor
|
Constructor. |
| Properties | |
|---|---|
auto
|
Set to false if you want to have fine grained control over the positioning of all
non-linear ads.
Inherited from the
|
bitrate
|
Maximum recommended bitrate.
Inherited from the
|
enable
|
Enables preloading of video assets.
Inherited from the
|
load
|
Timeout (in milliseconds) when loading a video ad media file.
Inherited from the
|
mime
|
Only supported for linear video mime types.
Inherited from the
|
play
|
For VMAP and ad rules playlists, only play ad breaks scheduled after this time (in
seconds).
Inherited from the
|
preroll
|
Timeout, in milliseconds, when loading a preroll video ad media file.
Inherited from the
|
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.
Inherited from the
|
ui
|
Specifies whether to display specific IMA UI elements.
Inherited from the
|
use
|
Render linear ads with full UI styling.
Inherited from the
|
use
|
Render non-linear ads with a close and recall button.
Inherited from the
|
Constructors
constructor
new AdsRenderingSettings(): AdsRenderingSettings
Constructor.
| Returns | |
|---|---|
AdsRenderingSettings
|
|
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
prerollLoadVideoTimeout
prerollLoadVideoTimeout: number
null value, IMA SDK uses the
loadVideoTimeout value.
restoreCustomPlaybackStateOnAdBreakComplete
restoreCustomPlaybackStateOnAdBreakComplete:
boolean
uiElements
uiElements: string[]
useStyledLinearAds
useStyledLinearAds: boolean
useStyledNonLinearAds
useStyledNonLinearAds: boolean