From: Chocobozzz Date: Fri, 9 Sep 2022 09:40:14 +0000 (+0200) Subject: Add missing removeEventListener doc X-Git-Tag: v4.3.0-rc.1~26 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=914af0d9e40787c2ab1a842e1b41136bdd32eaa8;p=github%2FChocobozzz%2FPeerTube.git Add missing removeEventListener doc --- diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md index c3be120a1..069882bfe 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` Get the available resolutions. A `PeerTubeResolution` looks like: