From: Chocobozzz Date: Tue, 14 Apr 2020 07:02:44 +0000 (+0200) Subject: Add pt version in embed options X-Git-Tag: v2.2.0-rc.1~235 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=624a022157abc74e72c2cac3a80c823eb950e599;p=github%2FChocobozzz%2FPeerTube.git Add pt version in embed options --- diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md index 80d6c2279..7085b4b0a 100644 --- a/support/doc/api/embeds.md +++ b/support/doc/api/embeds.md @@ -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.