Techdocs

AMP Web SDK

AMP player

IMA

IMA

new IMA(player, configopt, key)

Creates an instance of the IMA plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.ima.IMAConfig | Object <optional>

The configuration override object, or JSON string. Must adhear to the akamai.amp.ima.IMAConfig interface.

key string

The plugin identifier.