diff options
Diffstat (limited to 'support/doc/api')
-rw-r--r-- | support/doc/api/embeds.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/doc/api/embeds.md b/support/doc/api/embeds.md index 80e03b487..80d6c2279 100644 --- a/support/doc/api/embeds.md +++ b/support/doc/api/embeds.md | |||
@@ -113,12 +113,14 @@ You can subscribe to events by using `addEventListener()`. See above for details | |||
113 | 113 | ||
114 | ## Event `playbackStatusUpdate` | 114 | ## Event `playbackStatusUpdate` |
115 | 115 | ||
116 | 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. |
117 | The parameter of the callback will resemble: | ||
117 | 118 | ||
118 | ```json | 119 | ```json |
119 | { | 120 | { |
120 | "position": 22.3, | 121 | "position": 22.3, |
121 | "volume": 0.9, | 122 | "volume": 0.9, |
123 | "duration": "171.37499", | ||
122 | "playbackState": "playing" | 124 | "playbackState": "playing" |
123 | } | 125 | } |
124 | ``` | 126 | ``` |