]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add missing removeEventListener doc
authorChocobozzz <me@florianbigard.com>
Fri, 9 Sep 2022 09:40:14 +0000 (11:40 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 9 Sep 2022 09:40:14 +0000 (11:40 +0200)
support/doc/api/embeds.md

index c3be120a18377d24a55a44a2da378d10fea762bc..069882bfe4520fe374f8a5a9eebc73280adbd57c 100644 (file)
@@ -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: