Stuck at ZoomMtg.init without errors (import through CDN)

Hello :wave:

Following the documentation at https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate, all seems to match up but ZoomMtg.init is not calling success nor showing any errors. Have tried with 1.7.5 and 1.7.6 using the following code:

ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.7.6/lib', '/av'); 
ZoomMtg.init({
    leaveUrl: %LEAVE_URL%,
    isSupportAV: true,
    success: function(){
        ZoomMtg.join({
            signature: %SIGNATURE%,
            meetingNumber: %MEETING_NUMBER%,
            userName: %USER_NAME%,
            apiKey: %API_KEY%,
            userEmail: %USER_EMAIL%,
            passWord: %PASSWORD%,
            success: function(success){
                console.log(success);
            },
            error: function(error){ console.log(error); }
        });
    },
    error: function(error){ console.log(error); }
});

Would appreciate any help :+1: Thanks!

Is it that the current documentation is missing

ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

?

Hey @ricardo.tavares,

Yes, you must include the following functions after your ZoomMtg.setZoomJSLib function.

ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

It is mentioned here, but we will work on improving the docs so it is more apparent.

Thanks,
Tommy