Techdocs

AMP Web SDK

AMP player

Yospace

Yospace

new Yospace(player, configopt, key)

Creates an instance of the Yospace plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.nielsen.YospaceConfig | Object <optional>

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

key string

The plugin identifier.

Methods

createSession

createSession()

Creates a Yospace session.

reportEvent

reportEvent()

Reports a player event.