Hello Max, thank you for your answer. I think we removed every encoded tag from email, it’s output like this way that I’ved showed to you on the console output.
Please, find below the code that constructs the function:
<?php
$time = time()*1000;
$data = base64_encode($secrets['zapi'] . $zoom_id . $time . '0');
$hash = hash_hmac('sha256', $data, $secrets['zosc'], true);
$_sig = $secrets['zapi'] . "." . $zoom_id . "." . $time . "." . 0 . "." . base64_encode($hash);
$_sig = rtrim(strtr(base64_encode($_sig), '+/', '-_'), '=');
?>
<?php } ?>
And please, find below our zoom-helper.js code:
$(document).ready(function(){
console.log('checkSystemRequirements');
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));
ZoomMtg.setZoomJSLib('https://source.zoom.us/1.8.6/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
var zoomMeeting = document.getElementById("zmmtg-root");
var meetConfig = {
apiKey: zapi,
meetingNumber: zi,
userName: uname,
userEmail: umail,
passWord: zpas,
signature: az,
error(res) {
console.log("Joining meeting Error");
console.dir(res);
},
success() {
console.log("Success");
}
};
ZoomMtg.init({
leaveUrl: zredirUrl,
isSupportChat: false,
isSupportQA: false,
isLockBottom: false,
success: function (success) {
console.log("Init Success ", success);
console.dir(meetConfig);
ZoomMtg.join(meetConfig);
}
});
});