Close button not working in Iframe Api

How I fixed this problem? please help me

You can’t remove this per Jitsi TOS, if you’re running your iFrame against meet.jit.si.

I don’t want to remove it. I want to click the cross icon and close this page… Can u help me with that…?

What do you expect to happen when the cross icon is clicked?

It appears readyToClose event is triggered when that cross is clicked, so you can just listen to that and do whatever you like in the callback.

const api = new JitsiMeetExternalAPI(domain, options);

api.addListener('readyToClose', () => {
    console.log("do closing action here...");
});

Demo: JSFiddle

Thank You its working