Ipad safari browser doesnt asking for microphone and camera permissions (SOLVED)

We have realized a problem for the ipad Safari browser.

When we use normal https://meet.jit.si we dont have this problem.

but when we use on a different domain with external_api js safari browser doesnt ask permission touse microphone so doesnt work.

<script src='https://meet.jit.si/external_api.js'></script>
        /** CONFIG **/
        function init() {
            //document.getElementById("startdlg").style.visibility = "hidden";
            var channel_name = document.getElementById("channel_name").value;
            document.getElementById("startdlg").innerHTML = "";
            const domain = 'https://meet.jit.si';
            const options = {
                roomName: channel_name,
                width: 1024,
                height: 700,
                configOverwrite: { 
                    startAudioOnly: true,
                    enableWelcomePage: false,
                    enableClosePage: true,
                    prejoinPageEnabled: false,
                    enableInsecureRoomNameWarning: false,
                    disableThirdPartyRequests: true
                interfaceConfigOverwrite: {
                    APP_NAME: 'Guid.fm for Listener',
                    DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,
                    TOOLBAR_BUTTONS: [
                        'microphone', 'hangup'
            const api = new JitsiMeetExternalAPI(domain, options);
            api.executeCommand('displayName', 'smiss');


Was totaly our mistake not putting the page on https. we are sorry for the inconvenience.