mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-08-17 09:20:26 +03:00
Add embed getImageDataUrl
doc
This commit is contained in:
parent
103505421f
commit
c5e48b8af0
@ -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…
Reference in New Issue
Block a user