How do I enable disableSelfView and disableSelfViewSettings with the iFrame API?

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>

Are you testing this while alone in the call? I don’t think you can disable the self view while alone in the call.
The code you pasted, however, does work when there is more people in the call.

Oh wow! That was it. Thanks for your help!