I can't overwrite the toolbar buttons from since it was moved to config.js

since toolbarbuttons is modified with configoverwrite I cannot modify the buttons. An example with this code:

const domain = “meet.jit.si”;
const options = {
configOverwrite: {
toolbarButtons: [‘microphone’, ‘closedcaptions’, ‘embedmeeting’, ‘fullscreen’, ‘fodeviceselection’, ‘profile’, ‘chat’, ‘recording’, ‘livestreaming’, ‘etherpad’, ‘sharedvideo’, ‘settings’, ‘raisehand’, ‘videoquality’, ‘filmstrip’, ‘feedback’, ‘stats’, ‘shortcuts’, ‘tileview’, ‘select-background’, ‘download’, ‘help’, ‘mute-everyone’, ‘mute-video-everyone’],
prejoinPageEnabled: false,
channelLastN: 4,
startWithAudioMuted: true,
startWithVideoMuted: true,
roomName: “prueba.1.prueba”,
interfaceConfigOverwrite: {
JITSI_WATERMARK_LINK: ‘https://jitsi.org’,
width: ‘100%’,
height: 650,
const api = new JitsiMeetExternalAPI(domain, options);

The buttons share desktop and cam should not appear but it’s appearing

When I did it with interfaceConfigOverwrite I had no problem. Anybody know what could be happening?

Thanks!!! :slight_smile:

If you are doing it on meet.jit.si you need to do it “the old way” since we have some backwards compatibility code which is used when the option is present in interface_config. You can set it in both to be sure.

Thanks! you are right, although it’s deprecated in interface_config.js, it is still overwritten with interfaceConfigOverwrite