Class

Player

Insights.Player

Members

# constant Action

These actions that can be invoked by ActionsManager.invokeAction.
Properties:
Name Type Description
INSIGHTS_PLAYER_PLAY string Shows player and plays recording. Use Insights.Player.InsightsPlayerPlayActionPayload as payload.
INSIGHTS_PLAYER_SHOW string Shows the player
INSIGHTS_PLAYER_HIDE string Hides the player
INSIGHTS_PLAYER_INITIALIZED string Invoked when the player is rendered
Example
Flex.Actions.invokeAction(Flex.Insights.Actions.INSIGHTS_PLAYER_PLAY, {segmentId: "e5c46a75-0f56..."})

Type Definitions

# InsightsPlayerPlayActionPayload

Payload for Insights.Player.Actions.INSIGHTS_PLAYER_PLAY. Either segmentId or taskSid must be defined, or an error is thrown.
Properties:
Name Type Attributes Description
segmentId string <optional>
Segment you want to play. Required if taskSid is not provided.
taskSid string <optional>
Task you want to play. Required if segmentId is not provided.