Hello,
I’m just starting with the iFrame API.
I can’t get the disableSelfView
and disableSelfViewSettings
to work: the thumbnail is always shown.
Could someone tell me what’s wrong with my code? Thank you!
<!DOCTYPE html>
<html lang="en">
<head><meta charset=UTF-8><title>Hello World!</title> </head>
<body>
<div id="meet"></div>
<script src='https://meet.jit.si/external_api.js'></script>
<script>
var elContainer = document.querySelector('#meet');
const domain = 'meet.jit.si';
const options = {
roomName: 'JetSet747', // https://meet.jit.si/JetSet747
width: 700,
height: 700,
parentNode: elContainer,
userInfo: { email: 'john@example.com', displayName: 'John' },
configOverwrite: {prejoinPageEnabled: false, disableSelfView: true, disableSelfViewSettings: true},
};
const api = new JitsiMeetExternalAPI(domain, options);
</script>
</body>
</html>