Skip to content

Latest commit

 

History

History
96 lines (55 loc) · 2.27 KB

player-state.schema.md

File metadata and controls

96 lines (55 loc) · 2.27 KB

Player state information Schema

https://ns.adobe.com/xdm/context/player-state

Information related to player state.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Experimental No Forbidden Permitted context/player-state.schema.json

Schema Hierarchy

  • Player state information https://ns.adobe.com/xdm/context/player-state

Player state information Example

{
  "xdm:playerStateSet": true,
  "xdm:playerStateCount": 3,
  "xdm:playerStateTime": 180
}

Player state information Properties

Property Type Required Defined by
xdm:playerStateCount integer Optional Player state information (this schema)
xdm:playerStateSet boolean Optional Player state information (this schema)
xdm:playerStateTime integer Optional Player state information (this schema)
* any Additional this schema allows additional properties

xdm:playerStateCount

Player state count

The number of times that player state was set on the stream.

xdm:playerStateCount

  • is optional
  • type: integer
  • defined in this schema

xdm:playerStateCount Type

integer

  • minimum value: 0

xdm:playerStateSet

Player state set

Whether or not the player state is set on that state.

xdm:playerStateSet

  • is optional
  • type: boolean
  • defined in this schema

xdm:playerStateSet Type

boolean

xdm:playerStateTime

Show type

The total duration of that player state.

xdm:playerStateTime

  • is optional
  • type: integer
  • defined in this schema

xdm:playerStateTime Type

integer

  • minimum value: 0