49a3d90dc5c6def01fa7081c106de96cb56afbc4
localStorage is scoped per origin, not per path. Multiple jitsi-launch instances on one origin (e.g. meet.bnvb.eu/i and /p) therefore shared one language and one theme setting, and changing it in one instance changed it in all others. Prefix the language and theme keys with the app directory derived from the page path. Each instance keeps its own state; a root deployment gets the "/" prefix and behaves as before. Previously saved choices reset once because the key names change.
jitsi-start
A small html/js project to nudge a user to use the desktop client for Jitsi.
Configuration
All settings live in assets/config.json, loaded at startup. The launcher stays
up but links break if the file is missing or malformed.
Rename assets/config.json.sample to assets/config.json.
| Parameter | Description |
|---|---|
jitsiLauncher |
Domain of this Jitsi launcher. Used for the meeting URLs created by the meeting creator (Nextcloud, adhoc link). |
jitsiHost |
Jitsi domain. Used for the browser fallback URL, the desktop protocol URL and the UID of generated ICS files. |
nextcloudBase |
Nextcloud instance for calendar event creation. The "Create in Nextcloud Calendar" button is only shown if this is set. |
allowAdhocMeetings |
Whether adhoc meetings are allowed. The "Create Adhoc Link" button is only shown if this is true. |
launchTimeout |
Timeout in ms before the browser fallback is shown after trying to start the jitsi-meet-electron client. |
backgroundImage |
Path to the page background image. Empty: no background. |
logo |
Path to the logo shown in the logo bar. Empty: logo bar stays hidden. |
favicons |
Paths to the page icons: ico (fallback icon), svg (icon), appleTouch (Apple touch icon). The values from launch.html are kept if a key is missing. |
downloads |
Download URLs for the jitsi-meet clients, shown in the fallback view per detected OS: windows, macos, linux, ios, android. |
Third-party assets
assets/lib/ua-parser.min.js— ua-parser-js v2.0.10, © Faisal Salman, licensed under AGPL-3.0.
Description
A small html/js project to nudge a user to use the desktop client for Jitsi.
2.1 MiB
0 Stars
2 Watchers
0 Forks
Languages
JavaScript
63.5%
HTML
22.7%
CSS
13.8%