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


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>
	<div id="meet"></div>  
	<script src=''></script>	
		var elContainer = document.querySelector('#meet');
		const domain = '';
		const options = {
			roomName: 'JetSet747',  //
			width: 700, 
			height: 700,  
			parentNode: elContainer,
			userInfo: { email: '', displayName: 'John' },
			configOverwrite: {prejoinPageEnabled: false, disableSelfView: true, disableSelfViewSettings: true},
		const api = new JitsiMeetExternalAPI(domain, options);

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!