aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api/embeds.md
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-05 14:16:39 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-07 08:58:29 +0200
commit9054a8b6e522dd8d46260dca85e9de94a2d806cf (patch)
tree5699e0c2853c17cbaef037eec4cb48cfbf0ec06d /support/doc/api/embeds.md
parent2a71d286cec31964e0b70b5a7c53bfad401af554 (diff)
downloadPeerTube-9054a8b6e522dd8d46260dca85e9de94a2d806cf.tar.gz
PeerTube-9054a8b6e522dd8d46260dca85e9de94a2d806cf.tar.zst
PeerTube-9054a8b6e522dd8d46260dca85e9de94a2d806cf.zip
Handle playlist methods in embed api
Diffstat (limited to 'support/doc/api/embeds.md')
-rw-r--r--support/doc/api/embeds.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md
index e3df35efc..d64615764 100644
--- a/support/doc/api/embeds.md
+++ b/support/doc/api/embeds.md
@@ -115,6 +115,18 @@ Update current caption using the caption id.
115 115
116Get video captions. 116Get video captions.
117 117
118## `playNextVideo(): Promise<void>`
119
120Play next video in playlist.
121
122## `playPreviousVideo(): Promise<void>`
123
124Play previous video in playlist.
125
126## `getCurrentPosition(): Promise<void>`
127
128Get current position in playlist (starts from 1).
129
118# Events 130# Events
119 131
120You can subscribe to events by using `addEventListener()`. See above for details. 132You can subscribe to events by using `addEventListener()`. See above for details.