From 624a022157abc74e72c2cac3a80c823eb950e599 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Apr 2020 09:02:44 +0200 Subject: Add pt version in embed options --- support/doc/api/embeds.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'support') 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. -- cgit v1.2.3