diff options
author | Chocobozzz <me@florianbigard.com> | 2020-03-20 15:04:02 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-03-20 15:04:02 +0100 |
commit | 5ab994fe8e131c83a81d40ee86e86737de911e17 (patch) | |
tree | 995693f43cd536af8a1a19607a809d8b90ec159d /support/doc | |
parent | 6cb556449064278bdcb1a54a7b980c2e7bc735f0 (diff) | |
download | PeerTube-5ab994fe8e131c83a81d40ee86e86737de911e17.tar.gz PeerTube-5ab994fe8e131c83a81d40ee86e86737de911e17.tar.zst PeerTube-5ab994fe8e131c83a81d40ee86e86737de911e17.zip |
Fix embed api documentation
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/api/embeds.md | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md index 5586e013a..6ee7deeab 100644 --- a/support/doc/api/embeds.md +++ b/support/doc/api/embeds.md | |||
@@ -111,14 +111,6 @@ Get the playback volume. Returns a value between `0` and `1`. | |||
111 | 111 | ||
112 | You can subscribe to events by using `addEventListener()`. See above for details. | 112 | You can subscribe to events by using `addEventListener()`. See above for details. |
113 | 113 | ||
114 | ## Event `play` | ||
115 | |||
116 | Fired when playback begins or is resumed after pausing. | ||
117 | |||
118 | ## Event `pause` | ||
119 | |||
120 | Fired when playback is paused. | ||
121 | |||
122 | ## Event `playbackStatusUpdate` | 114 | ## Event `playbackStatusUpdate` |
123 | 115 | ||
124 | Fired every half second to provide the current status of playback. The parameter of the callback will resemble: | 116 | Fired every half second to provide the current status of playback. The parameter of the callback will resemble: |
@@ -135,7 +127,7 @@ The `volume` field contains the volume from `0` (silent) to `1` (full volume). T | |||
135 | 127 | ||
136 | ## Event `playbackStatusChange` | 128 | ## Event `playbackStatusChange` |
137 | 129 | ||
138 | Fired when playback transitions between states, such as `pausing` and `playing`. More states may be added later. | 130 | Fired when playback transitions between states, such as `paused` and `playing`. More states may be added later. |
139 | 131 | ||
140 | ## Event `resolutionUpdate` | 132 | ## Event `resolutionUpdate` |
141 | 133 | ||