Interface: IntegrationProperties
Properties that can be set on the integration element.
Properties
adPlayer?
optionaladPlayer:string
crossorigin?
optionalcrossorigin:""|"none"|"anonymous"|"use-credentials"
The crossorigin attribute 
is used to define the CORS (Cross-Origin Resource Sharing) policy for the video element.
Defaults to anonymous. If set to none (non-standard value) it won’t require CORS headers
for the loaded media files, though text-tracks from foreign origins then cannot be loaded.
env?
optionalenv:"local"|"stage"
extraContext?
optionalextraContext:ExtraContext
An optional context object that can be used to pass additional application, device and user information to the integration. Updates must be performed immutably: always provide a new object to the IntegrationElement#extraContext property when modifying any property or nested field.
hidden?
optionalhidden:boolean
Hides the integration element when set to true.
index?
optionalindex:number
Determines the index of the media item within the playlist that should be or is currently selected.
integrationId?
optionalintegrationId:string
The identifier for this integration. This value is used to determine the configuration and behavior of the integration.
placement?
optionalplacement:string
Allows the publisher to provide an optional placement attribute, which supplies additional contextual information for enhanced analytics tracking.
This can be a simple string or a stringified JSON object. If it is a stringified JSON object, its contents are forwarded as placementDetail. If the object contains a property key name, its value will be tracked for the placement attribute.
playlistId?
optionalplaylistId:string
Defines the playlist / content identifier that should be loaded and managed by the integration. It can be a single content id, a playlist id or auto.
It must be empty when the content is provided via the media-item web components inside the integration.
topLevelIframe?
optionaltopLevelIframe:boolean
An optional flag that can mark the integration as if it is running in a top-level window context. Useful when the embedded iframe represents an article, which contains this integration.
userLanguage?
optionaluserLanguage:string
Preferred language for the current user. When provided, this value is used for the UI instead of the browser language detected in the environment. Accepts a BCP 47 language tag (e.g. “de”, “en-US”).
variant?
optionalvariant:string