Video progress tracking
- Print
Video progress tracking
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback!
This page guides how to receive video progress-related events using the messageCallback.
Installation sample code
Install the below code to the common layout of the page
Messages & Payload
The following is a list of video progress-related events that can be directly handled by the messageCallback setting.
DETAIL_ACTIVE
On activating Shortform Detail (Shortform video play within the feed)
Payload | Type |
|---|---|
shorts |
DETAIL_ON_PLAYER_DISMISS
On closing Shortform Detail (Shortform video play within feed)
Payload | Type |
|---|---|
N/A | N/A |
DETAIL_VIEWING_SECONDS
This event fires with 3 seconds interval when watching a Shortform detail video
Payload | Type |
|---|---|
shorts | |
videoCurrentTime | number |