Skip to content

Commit

Permalink
Update docs for api.captureLargeVideoScreenshot
Browse files Browse the repository at this point in the history
Current version shows a String is returned, when it should be an Object.
  • Loading branch information
ThisIsJohnBrown authored and saghul committed Jan 26, 2021
1 parent 2d3ec49 commit 849f7be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/dev-guide/iframe.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ Use the following API functions to control your embedded Jitsi Meet Conference.
Captures a screenshot for the participant in the large video view (on stage).

```javascript
api.captureLargeVideoScreenshot().then(dataURL => {
// dataURL = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABQAA..."
api.captureLargeVideoScreenshot().then(data => {
// data is an Object with only one param, dataURL
// data.dataURL = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABQAA..."
});
```

Expand Down

0 comments on commit 849f7be

Please sign in to comment.