diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-09 11:40:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-09 11:40:14 +0200 |
commit | 914af0d9e40787c2ab1a842e1b41136bdd32eaa8 (patch) | |
tree | 60d332545e11dcc0d74ffcf48c9872d3825f7565 | |
parent | e15ce63041be6545b2e196048d4f93ed23f93e65 (diff) | |
download | PeerTube-914af0d9e40787c2ab1a842e1b41136bdd32eaa8.tar.gz PeerTube-914af0d9e40787c2ab1a842e1b41136bdd32eaa8.tar.zst PeerTube-914af0d9e40787c2ab1a842e1b41136bdd32eaa8.zip |
Add missing removeEventListener doc
-rw-r--r-- | support/doc/api/embeds.md | 4 |
1 files changed, 4 insertions, 0 deletions
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. | |||
169 | 169 | ||
170 | Add a listener for a specific event. See below for the available events. | 170 | Add a listener for a specific event. See below for the available events. |
171 | 171 | ||
172 | ## `removeEventListener(eventName : string, handler : Function)` | ||
173 | |||
174 | Remove a listener. | ||
175 | |||
172 | ## `getResolutions() : Promise<PeerTubeResolution[]>` | 176 | ## `getResolutions() : Promise<PeerTubeResolution[]>` |
173 | 177 | ||
174 | Get the available resolutions. A `PeerTubeResolution` looks like: | 178 | Get the available resolutions. A `PeerTubeResolution` looks like: |