Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add missing removeEventListener doc

Chocobozzz914af0d9e407
diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md
index c3be120a18..069882bfe4 100644
--- a/support/doc/api/embeds.md
+++ b/support/doc/api/embeds.md
@@ -169,6 +169,10 @@ Seek to the given position, as specified in seconds into the video.
Add a listener for a specific event. See below for the available events.
+## `removeEventListener(eventName : string, handler : Function)`
+
+Remove a listener.
+
## `getResolutions() : Promise<PeerTubeResolution[]>`
Get the available resolutions. A `PeerTubeResolution` looks like: