aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-14 09:02:44 +0200
committerChocobozzz <me@florianbigard.com>2020-04-14 09:02:44 +0200
commit624a022157abc74e72c2cac3a80c823eb950e599 (patch)
tree43ffa8b3c25e4574ae8dba3909398dda3a930a43 /support/doc/api
parent3f956d431cd965a4c9476e394ca74a46635bc7ed (diff)
downloadPeerTube-624a022157abc74e72c2cac3a80c823eb950e599.tar.gz
PeerTube-624a022157abc74e72c2cac3a80c823eb950e599.tar.zst
PeerTube-624a022157abc74e72c2cac3a80c823eb950e599.zip
Add pt version in embed options
Diffstat (limited to 'support/doc/api')
-rw-r--r--support/doc/api/embeds.md2
1 files changed, 2 insertions, 0 deletions
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:
125} 125}
126``` 126```
127 127
128`duration` field and `ended` `playbackState` are available in PeerTube >= 2.2.
129
128The `volume` field contains the volume from `0` (silent) to `1` (full volume). 130The `volume` field contains the volume from `0` (silent) to `1` (full volume).
129The `playbackState` can be `unstarted`, `playing`, `paused` or `ended`. More states may be added later. 131The `playbackState` can be `unstarted`, `playing`, `paused` or `ended`. More states may be added later.
130 132