From 914af0d9e40787c2ab1a842e1b41136bdd32eaa8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 9 Sep 2022 11:40:14 +0200 Subject: Add missing removeEventListener doc --- support/doc/api/embeds.md | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v1.2.3