Skip to content

Instantly share code, notes, and snippets.

@curtgadget
Created September 17, 2019 23:03
Show Gist options
  • Save curtgadget/211f55b3b8c1f5405aa376ded03aab9b to your computer and use it in GitHub Desktop.
Save curtgadget/211f55b3b8c1f5405aa376ded03aab9b to your computer and use it in GitHub Desktop.
Event payload for onMediaPlaying
{
"globalDataType": "com.theplatform.pdk.data::PdkEvent",
"data": {
"globalDataType": "com.theplatform.pdk.data::TimeInfo",
"currentTime": 2988.187,
"currentTimeAggregate": 2988.187,
"duration": 30101.333,
"durationAggregate": 30101.333,
"endTimeAbsolute": null,
"isAbsolute": false,
"isAggregate": false,
"isDvr": false,
"isLive": false,
"percentComplete": 9.927091933104757,
"percentCompleteAggregate": 9.927091933104757,
"sourceFileTime": 2988.187,
"startTimeAbsolute": null,
"timeUntilSkippable": 0,
"windowDuration": null,
"chapters": [],
"isMainTimeline": false,
"index": 1,
"count": 1
},
"type": "OnMediaPlaying",
"timestamp": 16657,
"scope": "player"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment