The creative must respond to Player:init with either § 4.3.6.1 resolve or § 4.3.6.2 reject.
dictionary MessageArgs {
required EnvironmentData environmentData;
required CreativeData creativeData;
};
- environmentData,
- Information about publisher’s environment and media player capacities.
- creativeData,
- Information that pertains to the specific creative.
dictionary CreativeData {
required DOMString adParameters;
DOMString clickThruUrl;
};
- adParameters,
- Typically, the value of VAST <AdParameters> node.
- clickThruUrl,
- Value of VAST <ClickThrough> node.
dictionary EnvironmentData {
required Dimensions videoDimensions;
required Dimensions creativeDimensions;
required boolean fullscreen;
required boolean fullscreenAllowed;
required boolean variableDurationAllowed;
required SkippableState skippableState;
required DOMString version;
DOMString siteUrl;
DOMString appId;
DOMString useragent;
DOMString deviceId;
boolean muted;
float volume;
};
dictionary Dimensions {
required long x;
required long y;
required long width;
required long height;
};
enum SkippableState {"playerHandles", "adHandles", "notSkippable"};
- videoDimensions,
- Communicates media element coordinates and size.
- creativeDimensions,
- Communicates creative iframe coordinates and size the player will set when iframe becomes visible.
- fullscreen,
- The value true indicates that the player is currently in fullscreen mode.
- fullscreenAllowed,
- Communicates the player’s capacity to toggle screen modes. The value true indicates that creative may request screen mode change. The value false denotes that the player will reject calls to change screen mode.*
- variableDurationAllowed,
- Communicates player’s capacities† to: interrupt ad playback progress – the ability to pause the media; extend ad user experience length beyond ad media duration after ad playback completion; accommodate creative’s ad stop request. The value true asserts that the player can: pause media playback in response to creative’s requests; extend ad experience after media playback completion (and abstaining from ad unloading) if the creative posts ad duration change instructions; accommodate creative’s ad stop request.‡
- skippableState,
- Expresses: player’s ability to skip the ad;† VAST skippability-associated instructions logic management; Skip Ad button handling delegation. The value playerHandles indicates that all of the following applies: the publisher controls skippability logic (including handling of VAST skipoffset directives); either VAST contains skipoffset or the skippability is the publisher-administered behavior; the player implements the Skip Ad button; the player will ignore skip requests from the creative. The value adHandles signals that the player: can skip the ad; does not implement internal Skip Ad button; disregards VAST skippability directives; will skip the ad in response to § 4.4.13 SIMID:Creative:requestSkip message.§ The value notSkippable declares that the player: cannot skip the ad; ignores VAST skippability instructions; will disregard skip request from the creative. With both playerHandles and notSkippable, the creative avoids the Skip Ad button drawing.
- version,
- The SIMID version the player implements.
- muted,
- true if the player § is muted.◊
- volume,
- player’s § volume – expressed as a number between 0 and 1.0.
- siteUrl,
- The URI of the publisher’s site. May be full or partial URL.
- appId,
- The ID of the mobile app, if applicable.
- useragent,
- The information about SDKs as well as the player’s vendor and version. The value should comply with VAST-specified conventions.
- deviceId,
- IDFA or AAID
- see § 4.4.8 SIMID:Creative:requestFullscreen and § 4.4.9 SIMID:Creative:requestExitFullscreen messages.
- In SSAI, live broadcast, and other time-constrained environments, the player must support uninterrupted media (both content and ads) playback progress. Specifically, the player may not be able to pause the media, shorten ad, or extend user ad experience.
- see § 4.4.10 SIMID:Creative:requestPause, § 4.4.11 SIMID:Creative:requestPlay, § 4.4.6 SIMID:Creative:requestChangeAdDuration, and § 4.4.14 SIMID:Creative:requestStop.
- SIMID does not expect device audio state information.
- Values of muted and volume are independent. While the player is muted, volume can be greater than zero; the volume zero does not mean the player is muted.