Zoom sdk integration and stuck on zoining meeting

Meeting SDK version : 2.10.1;
os:windows;
Client view

Whle I am integrating zoom Sdk to my nodejs project I face Issue in joining meeting I get stuck to a joining meeting page
const express=require(“express”);
const app=express();
const bodyParser = require(‘body-parser’);
const mysql = require(‘mysql’);
const dotenv = require(‘dotenv’);
const jwt = require(‘jsonwebtoken’);
const session = require(‘express-session’);
const path = require(‘path’);
const { exit } = require(“process”);
const { v4: uuidv4 } = require(‘uuid’);
const http = require(“http”);
const { url } = require(“inspector”);
const passport = require(‘passport’);
const LocalStrategy = require(‘passport-local’).Strategy;
dotenv.config();
const bcrypt = require(‘bcrypt’);
const multer = require(‘multer’);
const jsrsasign = require(‘jsrsasign’);

const cors = require(‘cors’);
const corsOptions = {
origin: ‘http://localhost:3000’,
app.use(cors(corsOptions));
app.use(express.static(path.join(__dirname, ‘public’)));
app.set(‘view engine’, ‘ejs’);
app.use(bodyParser.urlencoded({ extended: false }));
/* mysql connection */
var con = mysql.createConnection({
host: “localhost”,
user: “root”,
password: “password”,
database:“zoomschema”
});

con.connect(function(err) {
if (err) throw err;
console.log(“Connected!”);
});

// function generateAccessToken(username) {
// const zoomApiSecret = ‘redacted’;
// const token = jwt.sign({ name: username }, zoomApiSecret, { expiresIn: ‘1h’ });
// return token;
// }
function generateAccessToken(username) {
const zoomApiSecret = ‘’; // Replace this with your Zoom API Secret
const zoomApiKey = ‘’; // Replace this with your Zoom API Key

// Payload for the JWT token
const payload = {
iss: zoomApiKey, // Zoom API Key as issuer
exp: Math.floor(Date.now() / 1000) + 3600, // Token expires in 1 hour (3600 seconds)
name: username,
};

// Generate the JWT token
const token = jwt.sign(payload, zoomApiSecret);

return token;
}

// function generateAccessToken(username) {
// const zoomApiSecret = ‘redacted’; // Replace this with your Zoom API Secret
// const zoomApiKey = ‘redacted’; // Replace this with your Zoom API Key

// // Payload for the JWT token
// const payload = {
// iss: zoomApiKey, // Zoom API Key as issuer
// exp: Math.floor(Date.now() / 1000) + 3600, // Token expires in 1 hour (3600 seconds)
// name: username,
// };

// // Generate the JWT token
// const token = jwt.sign(payload, zoomApiSecret);

// return token;
// }
// const loginRoutes = require(‘./routes/login.js’)(con);
app.get(‘/’, (req, res) => {
const username = ‘Rishabh Verma’; // Replace with the logged-in user’s name
const meetingNumber = ‘77619890477’; // Replace with the meeting number to join
const userEmail= ‘redacted@gmail.com’;
// const meetingPassword = ‘fkYw3k’; // Replace with the meeting password if applicable
const passWord= ‘vb4Yzv’;
// Generate a JWT token for the user without specifying the meeting ID
const zoomApiKey = ‘’;
const accessToken = generateAccessToken(username);
// Pass the Zoom meeting URL and token as parameters to the dashboard view
const zoomMeetingUrl = ’ ';
res.render(‘test’, { zoomMeetingUrl,accessToken,userEmail,username,passWord,meetingNumber,zoomApiKey});
});

app.set(‘views’, path.join(__dirname, ‘views’));
app.listen(3000,function(req,res){
console.log(“server connected to port 3000”);
})
This is my app.js code and now code for my ejs file

Zoom Web SDK and over a browser I get like this surfing of page holding message joining meeting.

Please provide me solution to cope with this.

Hi @gravitydigital ,

We no longer support that version. Current minimum is 2.7.0 as of August 5th. Please upgrade and try again!

Now I had changed my version to this in my code

Zoom Web SDK /* To hide */ #zmmtg-root { display: none; }

/* To show */
#zmmtg-root {
display: block;
}

and getting this issue but still zoom mtg is defined GET https://source.zoom.us/zoom-meeting-%202.7.0.min.js net::ERR_ABORTED 403 (index):46 Uncaught ReferenceError: ZoomMtg is not defined at (index):46:3 please review the code again .

Hi @gravitydigital ,

You may have that line commented out:

Please check out some of the other threads on this topic.

Zoom Web SDK /* To hide */ #zmmtg-root { display: none; }

/* To show */
#zmmtg-root {
display: block;
}

I had used this in this I faced problem in connectivity with audio and video zoom-meeting-2.7.0.min.js:2 Uncaught (in promise) {type: 'VIDEO', evt: 'ERROR', errorCode: 'NOT_CONNECTED', data: undefined} v @ zoom-meeting-2.7.0.min.js:2 value @ zoom-meeting-2.7.0.min.js:2 Rh @ react-dom.production.min.js:148 Sh @ react-dom.production.min.js:152 Qj @ react-dom.production.min.js:174 unstable_runWithPriority @ react.production.min.js:24 Za @ react-dom.production.min.js:73 eb @ react-dom.production.min.js:170 gf @ react-dom.production.min.js:162 (anonymous) @ react-dom.production.min.js:73 unstable_runWithPriority @ react.production.min.js:24 Za @ react-dom.production.min.js:73 $g @ react-dom.production.min.js:73 ja @ react-dom.production.min.js:73 vk.Events.current @ react-dom.production.min.js:240 Ki @ react-dom.production.min.js:44 zoom-meeting-2.7.0.min.js:2 Uncaught (in promise) {type: 'AUDIO', evt: 'ERROR', errorCode: 'NOT_CONNECTED', data: undefined}

Sorry, what are you trying to say? Did you look through the thread linked?