Update api.md

This commit is contained in:
Germán Figna 2016-11-24 11:34:24 +01:00 committed by GitHub
parent 6d90adcdf6
commit 00e6e98a61
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ You can overwrite options set in config.js and interface_config.js. For example,
```javascript ```javascript
var configOverwrite = {enableSimulcast: false}; var configOverwrite = {enableSimulcast: false};
var interfaceConfigOverwrite = {filmStripOnly: true}; var interfaceConfigOverwrite = {filmStripOnly: true};
var api = new JitsiMeetExternalAPI(domain, room, width, height, htmlElement, true, configOverwrite, interfaceConfigOverwrite); var api = new JitsiMeetExternalAPI(domain, room, width, height, htmlElement, configOverwrite, interfaceConfigOverwrite);
``` ```
Controlling embedded Jitsi Meet Conference Controlling embedded Jitsi Meet Conference
@ -54,7 +54,7 @@ Currently we support the following commands:
* **displayName** - sets the display name of the local participant. This command requires one argument - * **displayName** - sets the display name of the local participant. This command requires one argument -
the new display name to be set the new display name to be set
``` ```
api.executeCommand('displayName', ['New Nickname']); api.executeCommand('displayName', 'New Nickname');
``` ```
* **toggleAudio** - mutes / unmutes the audio for the local participant. No arguments are required. * **toggleAudio** - mutes / unmutes the audio for the local participant. No arguments are required.
``` ```