From 9054a8b6e522dd8d46260dca85e9de94a2d806cf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 5 Aug 2020 14:16:39 +0200 Subject: Handle playlist methods in embed api --- support/doc/api/embeds.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'support') 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. Get video captions. +## `playNextVideo(): Promise` + +Play next video in playlist. + +## `playPreviousVideo(): Promise` + +Play previous video in playlist. + +## `getCurrentPosition(): Promise` + +Get current position in playlist (starts from 1). + # Events You can subscribe to events by using `addEventListener()`. See above for details. -- cgit v1.2.3