Is it possible to customize all configOverwrite options in a room URL?

For context, I am using Jitsi-as-a-Service, and the iFrame API, and right now, I’m generating URL’s with a JWT passed into it containing user info, etc. via query param.

Ex:
8x8.vc/vpaas-xx-xx-x-xx/MyRoomNameHere?jwt=SOME_VALID_JWT

Recently, after browsing through the forums, I learnt it was possible to actually pass in configOverwrite and interfaceConfigOverwrite attributes into the meeting URL using # URL fragments. ([How to] How to customize meeting options)

Ex:
https://meet.jit.si/example-103#config.startWithVideoMuted=true&interfaceConfig.TOOLBAR_BUTTONS=%5B%22microphone%22%2C%22camera%22%2C%22desktop%22%2C%22fullscreen%22%2C%22hangup%22%2C%22profile%22%2C%22settings%22%2C%22videoquality%22%5D&interfaceConfig.SETTINGS_SECTIONS=%5B%22devices%22%2C%22language%22%5D&interfaceConfig.TOOLBAR_ALWAYS_VISIBLE=true

My question is, which of the settings in config.js (jitsi-meet/config.js at master · jitsi/jitsi-meet · GitHub) or interface_config.js (jitsi-meet/interface_config.js at 76b4899c3966b1c8c972e029169735ae9330edbb · jitsi/jitsi-meet · GitHub) are actually working via a URL fragment? Have all of them been tested to work?

Some examples of config options I need are:

  • Being able to turn off all notifications (possible via iFrame API)
  • Automatically enabling lobby as soon as moderator joins (possible via iFrame API)
  • Being able to disable invite toolbar buttons (also possible via iFrame API)

All of these options I have only so far been able to achieve using the embedded iFrame, but not yet in external meeting links.

As such, how would I go about adding this to the URL fragment if ever, especially if said option is normally passed as an array rather than individual key-value pairs?

The whitelists determines which of the settings in config.js and interface_config.js you can override with either URL fragment or IFrame API:

You can pass in an empty array for config.notifications, e.g. https://meet.jit.si/testRoomWithNoNotifactions#config.notifications=[]

Arrays can be passed as such – https://meet.jit.si/testRoomWithNoNotifactions#config.notifications=[“notify.disconnected”,“dialog.kickTitle”] – make sure you use double quotes not single quotes.

I don’t think this is possible using config overwrites.

Use config.toolbarButtons to specify which toolbar buttons to show e.g. https://meet.jit.si/testRoom817263#config.toolbarButtons=[“microphone”,“camera”]

1 Like