From c5e48b8af0157e919d4a70978011d3d633b68617 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 May 2024 16:30:54 +0200 Subject: [PATCH] Add embed `getImageDataUrl` doc --- support/doc/api/embeds.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md index 831cb5ab6..2176cf309 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` + +**PeerTube >= 6.2** + +Get the current frame as JPEG image data URL. + + ## Embed events You can subscribe to events by using `addEventListener()`. See above for details.