ActivityPub-federated video streaming platform using P2P directly in your web browser
Add embed `getImageDataUrl` doc
Chocobozzzc5e48b8af015
diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.mdindex 831cb5ab64..2176cf309f 100644--- a/support/doc/api/embeds.md+++ b/support/doc/api/embeds.md@@ -287,6 +287,13 @@ Set the video password so the user doesn't have to manually fill it.`waitPasswordFromEmbedAPI=1` is required in embed URL.+### `getImageDataUrl(): Promise<string>`++**PeerTube >= 6.2**++Get the current frame as JPEG image data URL.++## Embed eventsYou can subscribe to events by using `addEventListener()`. See above for details.