]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/api/embeds.md
Updated notification types in openapi reference
[github/Chocobozzz/PeerTube.git] / support / doc / api / embeds.md
index e3df35efcdd7a58b7595f9b5518dc67fbc29259a..d64615764edab58af4d4677d691dab6344c583a5 100644 (file)
@@ -115,6 +115,18 @@ Update current caption using the caption id.
 
 Get video captions.
 
+## `playNextVideo(): Promise<void>`
+
+Play next video in playlist.
+
+## `playPreviousVideo(): Promise<void>`
+
+Play previous video in playlist.
+
+## `getCurrentPosition(): Promise<void>`
+
+Get current position in playlist (starts from 1).
+
 # Events
 
 You can subscribe to events by using `addEventListener()`. See above for details.