Add pt version in embed options

pull/2629/head
Chocobozzz 2020-04-14 09:02:44 +02:00
parent 3f956d431c
commit 624a022157
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ The parameter of the callback will resemble:
} }
``` ```
`duration` field and `ended` `playbackState` are available in PeerTube >= 2.2.
The `volume` field contains the volume from `0` (silent) to `1` (full volume). The `volume` field contains the volume from `0` (silent) to `1` (full volume).
The `playbackState` can be `unstarted`, `playing`, `paused` or `ended`. More states may be added later. The `playbackState` can be `unstarted`, `playing`, `paused` or `ended`. More states may be added later.