Skip to content

Instantly share code, notes, and snippets.

@alecs
Created March 4, 2026 15:04
Show Gist options
  • Select an option

  • Save alecs/44ca999bc2a3a72fb67382145f241e53 to your computer and use it in GitHub Desktop.

Select an option

Save alecs/44ca999bc2a3a72fb67382145f241e53 to your computer and use it in GitHub Desktop.
jitsi on ghost
<div id="jitsi-container" style="height: 80vh; width: 100%;"></div>
<script>
document.addEventListener("DOMContentLoaded", function () {
const domain = "jitsi.member.fsf.org";
const urlParams = new URLSearchParams(window.location.search);
var roomName = urlParams.get('room') || 'the-meet';
roomName = roomName.replace(/[^a-zA-Z0-9_-]/g, '');
const options = {
roomName: roomName,
parentNode: document.querySelector('#jitsi-container'),
configOverwrite: {
prejoinPageEnabled: false,
startWithAudioMuted: true,
startWithVideoMuted: true
},
interfaceConfigOverwrite: {
SHOW_JITSI_WATERMARK: false,
SHOW_BRAND_WATERMARK: false,
SHOW_WATERMARK_FOR_GUESTS: false,
DEFAULT_BACKGROUND: '#0f172a',
DEFAULT_REMOTE_DISPLAY_NAME: 'Guest',
DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,
TOOLBAR_BUTTONS: [
'microphone', 'camera', 'desktop','chat',
'raisehand', 'tileview', 'hangup'
]
}
};
new JitsiMeetExternalAPI(domain, options);
});
</script>
<style>
.kg-width-wide,
.kg-width-full {
max-width: 100% !important;
}
</style>
<script src="https://meet.jit.si/external_api.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment