Shared Screen button not available in my iframe

Hi,
I have recently started using JITSI via API on a iframe using the domain of “meet.jit.si” and it works perfectly, but yesterday I realized that the screen share button was gone on my iframe.

I have looked at many posts on this forum and have not found any related to this issue. I don’t know if it’s meant to work that way or I’m doing something wrog. But when i use the web (https://meet.jit.si) the button is on the bottom left corner and works fine.

Thank you in advance.

Are you using the iframeAPI to create the iframe?

Yes, this is my code:

const domain = ‘meet.jit.si’;
const options = {
roomName: _roomName,
width: “100%”,
height: “600px”,
parentNode: document.querySelector(’#jitsi_container’),

		userInfo: {
			displayName: _userName,
			
		},
		
		configOverwrite:{
			doNotStoreRoom: false,
			starVideoMuted: 0,
			startWithVideoMuted: true,
			startWithAudioMuted: true,
			enableWelcomePage: false,
			prejoinPageEnabled: false,
			startScreenSharing: true,
		},
		
		interfaceConfigOverwrite: {
			LANG_DETECTION: true,
			SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],
		},
		
		
	};
	
	api = new JitsiMeetExternalAPI(domain, options);
	var url = api._url;
	var res_iframe = api.getIFrame();