Data Integration
Call to Action

Video Apps

6min

View Item

When the user needs to be taken to the detail/view page of a video content. The app should handle the edge cases. For example-

  1. Invalid item id.
  2. If the user is not allowed to go to the videos detail page (maybe because the user is not logged-in).

Properties

Key

Value

Description

actionType

VIEW_ITEM

Type of action to be performed.

item

Item

the object of the item which holds itemID, Name. It is similar to an item sent via View Item event or via CMS

Code Example

JS
TS
Java
Kotlin
ObjectiveC
Swift
Dart


Play Item

When a particular video needs to be played. Users should be first taken to the view page of the content (if available). App should handle edge cases. For example-

  1. The user is allowed to play the content.
  2. Wrong content/item id.

Properties

Key

Value

Description

actionType

PLAY_ITEM

Type of action to be performed.

item

Item

the object of the item which holds itemID, Name. It is similar to an item sent via View Item event or via CMS

time

Number

Seconds from where video should start

Code Example

JS
TS
Java
Kotlin
ObjectiveC
Swift
Dart