Techdocs

AMP Web SDK

AMP player

Eventmanagement

Eventmanagement

new Eventmanagement(player, configopt, key)

Creates an instance of the Event Management plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.chromecast.EventmanagementConfig | Object <optional>

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

key string

The plugin identifier.