PlaybackParameters

Interface with ad playback parameters.

Properties

Extends the AdConfig.

Properties

Name

Type

Mandatory

Description

bufferEmptyLimit

number

No

The maximum permissible number of video playback stops for buffering. Buffering is not taken into account at startup and when resuming from pause.

bufferFullTimeout

number

No

Maximum ad buffering time in milliseconds.

Note

If exceeded, the ad stops playing and a callback function with an error is invoked.

controlsSettings

ControlsSettings

No

Settings for ad control display.

lang

string

No

The language in which the advertising interface should be displayed.

pauseOnClickThrough

boolean

No

Shows if the ad is paused when clicking on the ad link. By default, true.

skipDelayForNonYandexCreatives

number

No

Number of seconds that must pass from the start of the ad to the moment when the "Skip" button is displayed. For partner video ads only.

title

string

No

Ad title.

trackingEvents: TrackingEvents

string

No

An object in which additional links can be specified for event tracking.

videoTimeout

number

No

Timeout before starting a video, in milliseconds.

Note

If the video fails to start within this time, no ad is served. A callback function with an error is invoked.

vpaidTimeout

number

No

Timeout before running VPAID, in milliseconds.

Note

If VPAID fails to start within this time, no ad is served. A callback function with an error is invoked.