mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
Add embed getImageDataUrl
doc
This commit is contained in:
parent
103505421f
commit
c5e48b8af0
1 changed files with 7 additions and 0 deletions
|
@ -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 events
|
||||
|
||||
You can subscribe to events by using `addEventListener()`. See above for details.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue