aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-09 11:40:14 +0200
committerChocobozzz <me@florianbigard.com>2022-09-09 11:40:14 +0200
commit914af0d9e40787c2ab1a842e1b41136bdd32eaa8 (patch)
tree60d332545e11dcc0d74ffcf48c9872d3825f7565
parente15ce63041be6545b2e196048d4f93ed23f93e65 (diff)
downloadPeerTube-914af0d9e40787c2ab1a842e1b41136bdd32eaa8.tar.gz
PeerTube-914af0d9e40787c2ab1a842e1b41136bdd32eaa8.tar.zst
PeerTube-914af0d9e40787c2ab1a842e1b41136bdd32eaa8.zip
Add missing removeEventListener doc
-rw-r--r--support/doc/api/embeds.md4
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
170Add a listener for a specific event. See below for the available events. 170Add a listener for a specific event. See below for the available events.
171 171
172## `removeEventListener(eventName : string, handler : Function)`
173
174Remove a listener.
175
172## `getResolutions() : Promise<PeerTubeResolution[]>` 176## `getResolutions() : Promise<PeerTubeResolution[]>`
173 177
174Get the available resolutions. A `PeerTubeResolution` looks like: 178Get the available resolutions. A `PeerTubeResolution` looks like: