Skip to content

Commit 506abbe

Browse files
author
markzegarelli
authored
Merge pull request #1990 from segmentio/tawe-segment-patch-1
Add Video Playback Exited event to Video Spec
2 parents 3247115 + d4edfdc commit 506abbe

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

src/connections/spec/video.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,52 @@ When playback is complete and only when the session is finished.
538538
}
539539
```
540540

541+
#### Video Playback Exited
542+
When user navigates away from a playback/stream.
543+
{% comment %} api-example '{
544+
"action": "track",
545+
"event": "Video Playback Exited",
546+
"userId": "userId",
547+
"properties": {
548+
"session_id": "12345",
549+
"content_asset_id": "0129370",
550+
"content_pod_id": "segA",
551+
"position": 392,
552+
"total_length": 392,
553+
"bitrate": 100,
554+
"framerate": 29.00,
555+
"video_player": "youtube",
556+
"sound": 55,
557+
"full_screen": false,
558+
"ad_enabled": false,
559+
"quality": "hd1080",
560+
"livestream": false
561+
}
562+
}'}}} {% endcomment %}
563+
564+
```js
565+
{
566+
"action": "track",
567+
"event": "Video Playback Exited",
568+
"userId": "userId",
569+
"properties": {
570+
"session_id": "12345",
571+
"content_asset_id": "0129370",
572+
"content_pod_id": "segA",
573+
"position": 392,
574+
"total_length": 392,
575+
"bitrate": 100,
576+
"framerate": 29.00,
577+
"video_player": "youtube",
578+
"sound": 55,
579+
"full_screen": false,
580+
"ad_enabled": false,
581+
"quality": "hd1080",
582+
"livestream": false
583+
}
584+
}
585+
```
586+
541587
---
542588

543589
## Content

0 commit comments

Comments
 (0)