diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/embeds.md | 12 |
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 | ||
116 | Get video captions. | 116 | Get video captions. |
117 | 117 | ||
118 | ## `playNextVideo(): Promise<void>` | ||
119 | |||
120 | Play next video in playlist. | ||
121 | |||
122 | ## `playPreviousVideo(): Promise<void>` | ||
123 | |||
124 | Play previous video in playlist. | ||
125 | |||
126 | ## `getCurrentPosition(): Promise<void>` | ||
127 | |||
128 | Get current position in playlist (starts from 1). | ||
129 | |||
118 | # Events | 130 | # Events |
119 | 131 | ||
120 | You can subscribe to events by using `addEventListener()`. See above for details. | 132 | You can subscribe to events by using `addEventListener()`. See above for details. |