Techdocs

AMP Web SDK

AMP player

Datazoom

Datazoom

new Datazoom(player, configopt, key)

Creates an instance of the Datazoom plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.datazoom.DatazoomConfig | Object <optional>

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

key string

The plugin identifier.