Techdocs

AMP Web SDK

AMP player

AdMarker

AdMarker

new AdMarker(player, configopt)

Creates an instance of the AdMarker plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.admarker.AdMarkerConfig | Object <optional>

The configuration override object, or JSON string. Must adhere to the akamai.amp.admarker.AdMarkerConfig interface.