IFrame API over moderated.jitsi.net

In Jitsi Moderated Meetings page https://moderated.jitsi.net/ we can get, for example:

Guest URL
https://meet.jit.si/moderated/c018f5a60ccbdff9a056c245ef42ed207c68bc2e451866a5c5d80b509a67ba7b

Moderator URL
https://moderated.jitsi.net/c95383356fa4495e9d5080c1d5fc2af3ff8e640bd0ca41ac94259add50186e0f

I tried to create two different scripts, one for guests and one for the moderator

GUEST

const domain = 'meet.jit.si/moderated';
const options = {
    roomName: 'c018f5a60ccbdff9a056c245ef42ed207c68bc2e451866a5c5d80b509a67ba7b',
    width: '100%',
    height: '100%',
    parentNode: undefined,
    configOverwrite: {},
    interfaceConfigOverwrite: {}
}
const api = new JitsiMeetExternalAPI(domain, options);

MODERATOR

const domain = 'moderated.jitsi.net';
const options = {
    roomName: 'c95383356fa4495e9d5080c1d5fc2af3ff8e640bd0ca41ac94259add50186e0f',
    width: '100%',
    height: '100%',
    parentNode: undefined,
    configOverwrite: {},
    interfaceConfigOverwrite: {}
}
const api = new JitsiMeetExternalAPI(domain, options);

On the moderator page this error appears:
I can’t connect the camera and microphone.

Any idea what is wrong with the script?

Thank you!

moderated.jitsi.net cannot be used with iframe API.