]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add pt version in embed options
authorChocobozzz <me@florianbigard.com>
Tue, 14 Apr 2020 07:02:44 +0000 (09:02 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 14 Apr 2020 07:02:44 +0000 (09:02 +0200)
support/doc/api/embeds.md

index 80d6c22793d34a18d8b6e6642d6bb37096230506..7085b4b0ad569e2592eafd143a433fb350ac7712 100644 (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 `playbackState` can be `unstarted`, `playing`, `paused` or `ended`. More states may be added later.