Data Models
SyncVideoPlayer
SyncVideoPlayer
Class Properties
Property | Type | Optional | Description |
---|---|---|---|
playerId | String | Yes | The identifier for the video player instance. |
src | String | Yes | The source URL of the video. |
sources | String[] | Yes | An array of source URLs for the video. |
lastUpdated | Number | Yes | The timestamp of when the player was last updated. |
lastUpdatedBy | User | Yes | The user who last updated the player. |
lastUpdatedEvent | String | Yes | The name of the event that triggered the last update. |
playerState | SyncVideoPlayerState | No | The state object of the video player. |
SyncVideoPlayerState
Class Properties
Property | Type | Optional | Description |
---|---|---|---|
playing | Boolean | Yes | Indicates if the video is currently playing. |
currentTime | Number | Yes | The current playback time of the video. |
muted | Boolean | Yes | Indicates if the video is muted. |
volume | Number | Yes | The volume level of the video. |
speed | Number | Yes | The playback rate of the video. |
Was this page helpful?