# Missing JsMediaSDK\_Instance

**URL:** <https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928>\
**Category:** Web\
**Created:** [April 11, 2019, 6:33pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928 "2019-04-11T18:33:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigo](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rodrigo](https://devforum.zoom.us/u/rodrigo)\
**Post date:** [April 11, 2019, 6:33pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/1 "2019-04-11T18:33:06Z")

</div>

Hi guys, i try use zoom in my react application.  
I install via npm the zoomus-jssdk (npm install zoomus-jssdk).  
In my project y install all of dependencys. But when a run my project, throw me an error of JsMediaSDK\_Instance is not defined.

 ![error3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/bc61b63429a457d86ba73dcb1bf176147efb235b.png)  
 ![error1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/6a32a36dffb1b9a35b6679050a09913f5a472b81.png)  
 ![error2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/22d72a309d42c446b0ebc6ad85ceb7c89f2b7f44.png)

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 12, 2019, 10:24pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/2 "2019-04-12T22:24:00Z")

</div>

Hi @rodrigo

What version of React are you using?

---

<div class="post-metadata">

**Author:** ![rodrigo](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rodrigo](https://devforum.zoom.us/u/rodrigo)\
**Post date:** [April 15, 2019, 12:10pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/3 "2019-04-15T12:10:54Z")

</div>

Hi @michael_p.zoom im using “react”: “15.6.1”. But i was try also with “react”: “^16.8.6”. In both versions i have the same problem.

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [April 22, 2019, 11:43am UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/5 "2019-04-22T11:43:42Z")

</div>

@rodrigo [https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/integrate-the-sdk](https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/integrate-the-sdk) , whether you use this tutorial?

if you do that

1. check the network panel. whether the browser download the “js\_media.min.js”

2. if not, could be you don’t invoke two functions.

```auto
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

```

[https://zoom.github.io/sample-app-web/ZoomMtg.html#prepareJssdk](https://zoom.github.io/sample-app-web/ZoomMtg.html#prepareJssdk)  
[https://zoom.github.io/sample-app-web/ZoomMtg.html#preLoadWasm](https://zoom.github.io/sample-app-web/ZoomMtg.html#preLoadWasm)

---

<div class="post-metadata">

**Author:** ![joeumar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joeumar/32/698_2.png) [@joeumar](https://devforum.zoom.us/u/joeumar)\
**Post date:** [April 22, 2019, 7:52pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/6 "2019-04-22T19:52:19Z")

</div>

Hi, @JackYang.

I hit the same issue as @rodrigo , I also checked if those functions are being called, and yes, they are.  
But the ‘prepareJssdk’ raises the error.

Hope you can help us.

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [April 23, 2019, 7:10am UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/7 "2019-04-23T07:10:27Z")

</div>

@joeumar sorry about that, can you provide a demo code to me. I can produce this issue.

---

<div class="post-metadata">

**Author:** ![joeumar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joeumar/32/698_2.png) [@joeumar](https://devforum.zoom.us/u/joeumar)\
**Post date:** [April 23, 2019, 11:35am UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/8 "2019-04-23T11:35:31Z")

</div>

Sure, @JackYang.

I imported the jQuery in the **/public/index.html** file:

```
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

```

Then I’ve created a ZoomComponent, importing the sdk:

```
import React from 'react';
import { ZoomMtg } from 'zoomus-jssdk';

function ZoomComponent() {
  console.log('checkSystemRequirements');
...

```

And inside it, put the code from the tutorial link you pasted above, using the meeting ID that I previously created.

Inside my App.js I use my ZoomComponent:

```
render() {
    return (
      <ZoomComponent />
    );
  }

```

After this, I hit this issue:

 ![JsMEdiaSDK_Instance](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/76f3cf135bb75bd9bef5a8389612b4bef0f0ce24.jpeg)

And that’s it.

---

<div class="post-metadata">

**Author:** ![rodrigo](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rodrigo](https://devforum.zoom.us/u/rodrigo)\
**Post date:** [April 23, 2019, 12:03pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/9 "2019-04-23T12:03:33Z")

</div>

@JackYang i was try without the ZoomMtg.preLoadWasm(); ZoomMtg.prepareJssdk(); and i have the same problem.

---

<div class="post-metadata">

**Author:** ![rodrigo](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rodrigo](https://devforum.zoom.us/u/rodrigo)\
**Post date:** [April 23, 2019, 12:42pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/10 "2019-04-23T12:42:07Z")

</div>

@JackYang my component code are this:

[https://pastebin.com/PdztP4Hs](https://pastebin.com/PdztP4Hs)

in my /public/index.html y import the jquery script:

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [April 23, 2019, 11:41pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/11 "2019-04-23T23:41:07Z")

</div>

@rodrigo Please make sure use react 15.6.1,  
react have some issue with unmatch version.  
and i test you code base on 1.3.8 cdn version.  
it works  
notice: zoomjssdk is SPA, it use the whole page. it will cover you element if you don’t set z-index.

```auto
"dependencies": {
	"react": "15.6.1",
	"react-dom": "15.6.1",
	"redux": "3.7.2",
	"react-redux": "5.0.6",
	"jquery": "^3.2.0",
	"lodash": "^4.17.4",
	"redux-thunk": "2.2.0"
}

```

ZoomMeeting.js

```auto
import React from 'react';
import { ZoomMtg } from 'zoomus-jssdk';

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

const ZoomMeeting = ({
    meetingId, username, apiKey, apiSecret
}) => {
    const insideMeeting = () => {
        const API_KEY = apiKey;

        /**
            * NEVER PUT YOUR ACTUAL API SECRET IN CLIENT SIDE CODE, THIS IS JUST FOR QUICK PROTOTYPING
            * The below generateSignature should be done server side as not to expose your api secret in public
            * You can find an eaxmple in here: https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/tutorial/generate-signature
            */
        const API_SECRET = apiSecret;

        const meetConfig = {
            apiKey: API_KEY,
            apiSecret: API_SECRET,
            meetingNumber: meetingId,
            userName: username,
            passWord: '',
            leaveUrl: 'https://zoom.us',
            role: 0
        };

        ZoomMtg.generateSignature({
            meetingNumber: meetConfig.meetingNumber,
            apiKey: meetConfig.apiKey,
            apiSecret: meetConfig.apiSecret,
            role: meetConfig.role,
            success(res) {
                console.log('signature', res.result);
                ZoomMtg.init({
                    leaveUrl: 'http://www.zoom.us',
                    isSupportAV: true,
                    success() {
                        ZoomMtg.join(
                            {
                                meetingNumber: meetConfig.meetingNumber,
                                userName: meetConfig.userName,
                                signature: res.result,
                                apiKey: meetConfig.apiKey,
                                userEmail: 'email@gmail.com',
                                passWord: meetConfig.passWord,
                                success() {
                                    console.log('join meeting success');
                                },
                                error(res) {
                                    console.log(res);
                                }
                            }
                        );
                    },
                    error(res) {
                        console.log(res);
                    }
                });
            }
        });
    };
    return (
        <button type="button" onClick={insideMeeting}>Inside</button>
    );
};

export default ZoomMeeting;

```

index.js

```auto
import React from 'react';
import ReactDOM from 'react-dom';

import ZoomMeeting from './ZoomMeeting';

const ZoomConfig = {
    apiKey: '',
    apiSecret: '',
    username: '1.3.8',
    meetingNumber: ''
};

ReactDOM.render(<ZoomMeeting meetingId={ZoomConfig.meetingNumber} username={ZoomConfig.meetingNumber} apiKey={ZoomConfig.apiKey} apiSecret={ZoomConfig.apiSecret} />, document.querySelector('#myapp'));

```

index.html

```auto
<!DOCTYPE html>
<head>
    <title>Zoom JSSDK</title>
    <meta charset="utf-8" />
    <link type="text/css" rel="stylesheet" href="node_modules/zoomus-jssdk/dist/css/bootstrap.css" />
    <link type="text/css" rel="stylesheet" href="node_modules/zoomus-jssdk/dist/css/react-select.css" />

    <meta name="format-detection" content="telephone=no">
</head>
<body>

<div id="myapp" style="z-index: 99999999999;"></div>
<script src="node_modules/react/dist/react.min.js"></script>
<script src="node_modules/react-dom/dist/react-dom.min.js"></script>
<script src="node_modules/redux/dist/redux.min.js"></script>
<script src="node_modules/redux-thunk/dist/redux-thunk.min.js"></script>
<script src="node_modules/lodash/lodash.min.js"></script>
<script src="node_modules/jquery/dist/jquery.min.js"></script>

<script src="./static/app.min.js"></script>

<script>

</script>
</body>
</html>

```

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [April 23, 2019, 11:47pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/12 "2019-04-23T23:47:58Z")

</div>

@joeumar I see you use React 16, I think could be this issue.  
you can see my previous comment.

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [April 23, 2019, 11:51pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/13 "2019-04-23T23:51:10Z")

</div>

@rodrigo @joeumar for react 16 support, we plan to do that in few months.

---

<div class="post-metadata">

**Author:** ![rodrigo](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@rodrigo](https://devforum.zoom.us/u/rodrigo)\
**Post date:** [April 25, 2019, 2:46pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/14 "2019-04-25T14:46:54Z")

</div>

@JackYang i use React 15.6.1  
My dependecies are the following:

> “dependencies”: {  
> “jquery”: “^3.2.0”,  
> “lodash”: “^4.17.4”,  
> “react”: “15.6.1”,  
> “react-dom”: “15.6.1”,  
> “react-redux”: “5.0.6”,  
> “react-scripts”: “2.1.8”,  
> “redux”: “3.7.2”,  
> “redux-thunk”: “2.2.0”,  
> “zoomus-jssdk”: “^1.3.8”,  
> “webpack”: “^4.26.1”,  
> “webpack-cli”: “^3.1.2”,  
> “webpack-dev-server”: “^3.1.10”  
> },

---

<div class="post-metadata">

**Author:** ![JackYang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jackyang/32/1135_2.png) [@JackYang](https://devforum.zoom.us/u/JackYang)\
**Post date:** [April 29, 2019, 2:15am UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/15 "2019-04-29T02:15:59Z")

</div>

I think we need troubleshooting, you can add me your contract, and send me, we can plan a meeting.

---

<div class="post-metadata">

**Author:** ![vincent.beltrani](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vincent.beltrani](https://devforum.zoom.us/u/vincent.beltrani)\
**Post date:** [July 22, 2019, 10:33pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/16 "2019-07-22T22:33:25Z")

</div>

Hi, All. Has anyone got around this missing JsMediaSDK\_Instance issue?

I’m building an app and I cannot get passed this missing JsMediaSDK\_Instance issue. I run both ZoomMtg.preLoadWasm() and ZoomMtg.prepareJssdk(), and I’ve verified that the corresponding files are fetched:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/211fb30930ce4f42f0bf0798a4f4f225d15f10b9.png)

I am successfully joining the meeting though, in that I can see myself show up in another users meeting (he started it from the web). This is where I’m stuck every time:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f4f935333a6d68136b81036267c61d54c8e3a15b.png)

I’m essentially just copying the ES6 style code straight from the example.

Does anyone see the issue? Or has anyone figured out a way passed this?

I can successfully run the local web-app example from here: [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web) which makes me think it’s something with the webpack config or with the framework I’m using .

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 23, 2019, 6:35pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/19 "2019-07-23T18:35:40Z")

</div>

Hey @vincent.beltrani,

[A work around to this issue](https://github.com/zoom/sample-app-web/blob/master/CDN/js/index.js#L7) I found is including this line above `ZoomMtg.preLoadWasm()` and `ZoomMtg.prepareJssdk()`.

```javascript
ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib', '/av')

```

Let me know if this works for you!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![pmogollon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pmogollon/32/15868_2.png) [@pmogollon](https://devforum.zoom.us/u/pmogollon)\
**Post date:** [March 20, 2020, 4:22pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/21 "2020-03-20T16:22:54Z")

</div>

Hi @tommy,

We are still getting this error some times even when using your suggestion but with the 1.7.2 version like this.

```javascript
ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.7.2/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk(); 

```

Is there any other suggestion to fix this issue, or is the cause known? What should we do in this case?

Thanks in advance.

> **Complete error trace in chrome js console**
>
> ````javascript
> react-dom.min.js:117 ReferenceError: JsMediaSDK_Instance is not defined
> at t.value (zoom-meeting-1.7.2.min.js:2)
> at t.value (zoom-meeting-1.7.2.min.js:2)
> at qi (react-dom.min.js:130)
> at ui (react-dom.min.js:133)
> at react-dom.min.js:158
> at unstable_runWithPriority (react.min.js:27)
> at Vc (react-dom.min.js:158)
> at Sc (react-dom.min.js:158)
> at Z (react-dom.min.js:156)
> at Zg (react-dom.min.js:159)
> Bg @ react-dom.min.js:117
> c.callback @ react-dom.min.js:126
> Ag @ react-dom.min.js:116
> zg @ react-dom.min.js:116
> qi @ react-dom.min.js:131
> ui @ react-dom.min.js:133
> (anonymous) @ react-dom.min.js:158
> unstable_runWithPriority @ react.min.js:27
> Vc @ react-dom.min.js:158
> Sc @ react-dom.min.js:158
> Z @ react-dom.min.js:156
> Zg @ react-dom.min.js:159
> notify @ zoom-meeting-1.7.2.min.js:2
> t.notifyNestedSubs @ zoom-meeting-1.7.2.min.js:2
> n.notifySubscribers @ zoom-meeting-1.7.2.min.js:2
> t.handleChangeWrapper @ zoom-meeting-1.7.2.min.js:2
> a @ redux.min.js:1
> (anonymous) @ redux-thunk.min.js:1
> dispatch @ redux.min.js:1
> success @ zoom-meeting-1.7.2.min.js:2
> c @ jquery.min.js:2
> fireWith @ jquery.min.js:2
> l @ jquery.min.js:2
> (anonymous) @ jquery.min.js:2
> load (async)
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> (anonymous) @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ redux-thunk.min.js:1
> (anonymous) @ redux.min.js:1
> value @ zoom-meeting-1.7.2.min.js:2
> m @ zoom-meeting-1.7.2.min.js:2
> b @ zoom-meeting-1.7.2.min.js:2
> success @ zoom-meeting-1.7.2.min.js:2
> c @ jquery.min.js:2
> fireWith @ jquery.min.js:2
> l @ jquery.min.js:2
> i @ jquery.min.js:2
> dispatch @ jquery.min.js:2
> v.handle @ jquery.min.js:2
> load (async)
> add @ jquery.min.js:2
> (anonymous) @ jquery.min.js:2
> each @ jquery.min.js:2
> each @ jquery.min.js:2
> Ae @ jquery.min.js:2
> on @ jquery.min.js:2
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> i @ zoom-meeting-1.7.2.min.js:2
> y @ zoom-meeting-1.7.2.min.js:2
> join @ zoom-meeting-1.7.2.min.js:2
> success @ zoom.js:45
> z @ zoom-meeting-1.7.2.min.js:2
> value @ zoom-meeting-1.7.2.min.js:2
> m @ zoom-meeting-1.7.2.min.js:2
> init @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ zoom.js:25
> setTimeout (async)
> (anonymous) @ zoom.js:10
> (anonymous) @ zoom.js:70
> react-dom.min.js:117 TypeError: h.a.getCanvasInfo is not a function
> at t.adjustActiveVideo (zoom-meeting-1.7.2.min.js:2)
> at t.onWindowResize (zoom-meeting-1.7.2.min.js:2)
> at t.value (zoom-meeting-1.7.2.min.js:2)
> at qi (react-dom.min.js:130)
> at ui (react-dom.min.js:133)
> at react-dom.min.js:158
> at unstable_runWithPriority (react.min.js:27)
> at Vc (react-dom.min.js:158)
> at Sc (react-dom.min.js:158)
> at Z (react-dom.min.js:156)
> Bg @ react-dom.min.js:117
> c.callback @ react-dom.min.js:126
> Ag @ react-dom.min.js:116
> zg @ react-dom.min.js:116
> qi @ react-dom.min.js:131
> ui @ react-dom.min.js:133
> (anonymous) @ react-dom.min.js:158
> unstable_runWithPriority @ react.min.js:27
> Vc @ react-dom.min.js:158
> Sc @ react-dom.min.js:158
> Z @ react-dom.min.js:156
> Zg @ react-dom.min.js:159
> notify @ zoom-meeting-1.7.2.min.js:2
> t.notifyNestedSubs @ zoom-meeting-1.7.2.min.js:2
> n.notifySubscribers @ zoom-meeting-1.7.2.min.js:2
> t.handleChangeWrapper @ zoom-meeting-1.7.2.min.js:2
> a @ redux.min.js:1
> (anonymous) @ redux-thunk.min.js:1
> dispatch @ redux.min.js:1
> success @ zoom-meeting-1.7.2.min.js:2
> c @ jquery.min.js:2
> fireWith @ jquery.min.js:2
> l @ jquery.min.js:2
> (anonymous) @ jquery.min.js:2
> load (async)
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> (anonymous) @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ redux-thunk.min.js:1
> (anonymous) @ redux.min.js:1
> value @ zoom-meeting-1.7.2.min.js:2
> m @ zoom-meeting-1.7.2.min.js:2
> b @ zoom-meeting-1.7.2.min.js:2
> success @ zoom-meeting-1.7.2.min.js:2
> c @ jquery.min.js:2
> fireWith @ jquery.min.js:2
> l @ jquery.min.js:2
> i @ jquery.min.js:2
> dispatch @ jquery.min.js:2
> v.handle @ jquery.min.js:2
> load (async)
> add @ jquery.min.js:2
> (anonymous) @ jquery.min.js:2
> each @ jquery.min.js:2
> each @ jquery.min.js:2
> Ae @ jquery.min.js:2
> on @ jquery.min.js:2
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> i @ zoom-meeting-1.7.2.min.js:2
> y @ zoom-meeting-1.7.2.min.js:2
> join @ zoom-meeting-1.7.2.min.js:2
> success @ zoom.js:45
> z @ zoom-meeting-1.7.2.min.js:2
> value @ zoom-meeting-1.7.2.min.js:2
> m @ zoom-meeting-1.7.2.min.js:2
> init @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ zoom.js:25
> setTimeout (async)
> (anonymous) @ zoom.js:10
> (anonymous) @ zoom.js:70
> react-dom.min.js:117 TypeError: S.send_socket is not a function
> at t.value (zoom-meeting-1.7.2.min.js:2)
> at Dg (react-dom.min.js:119)
> at Eg (react-dom.min.js:123)
> at ni (react-dom.min.js:128)
> at ui (react-dom.min.js:133)
> at react-dom.min.js:158
> at unstable_runWithPriority (react.min.js:27)
> at Vc (react-dom.min.js:158)
> at Sc (react-dom.min.js:158)
> at Z (react-dom.min.js:156)
> Bg @ react-dom.min.js:117
> c.callback @ react-dom.min.js:126
> Ag @ react-dom.min.js:116
> zg @ react-dom.min.js:116
> qi @ react-dom.min.js:131
> ui @ react-dom.min.js:133
> (anonymous) @ react-dom.min.js:158
> unstable_runWithPriority @ react.min.js:27
> Vc @ react-dom.min.js:158
> Sc @ react-dom.min.js:158
> Z @ react-dom.min.js:156
> Zg @ react-dom.min.js:159
> notify @ zoom-meeting-1.7.2.min.js:2
> t.notifyNestedSubs @ zoom-meeting-1.7.2.min.js:2
> n.notifySubscribers @ zoom-meeting-1.7.2.min.js:2
> t.handleChangeWrapper @ zoom-meeting-1.7.2.min.js:2
> a @ redux.min.js:1
> (anonymous) @ redux-thunk.min.js:1
> dispatch @ redux.min.js:1
> success @ zoom-meeting-1.7.2.min.js:2
> c @ jquery.min.js:2
> fireWith @ jquery.min.js:2
> l @ jquery.min.js:2
> (anonymous) @ jquery.min.js:2
> load (async)
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> (anonymous) @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ redux-thunk.min.js:1
> (anonymous) @ redux.min.js:1
> value @ zoom-meeting-1.7.2.min.js:2
> m @ zoom-meeting-1.7.2.min.js:2
> b @ zoom-meeting-1.7.2.min.js:2
> success @ zoom-meeting-1.7.2.min.js:2
> c @ jquery.min.js:2
> fireWith @ jquery.min.js:2
> l @ jquery.min.js:2
> i @ jquery.min.js:2
> dispatch @ jquery.min.js:2
> v.handle @ jquery.min.js:2
> load (async)
> add @ jquery.min.js:2
> (anonymous) @ jquery.min.js:2
> each @ jquery.min.js:2
> each @ jquery.min.js:2
> Ae @ jquery.min.js:2
> on @ jquery.min.js:2
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> i @ zoom-meeting-1.7.2.min.js:2
> y @ zoom-meeting-1.7.2.min.js:2
> join @ zoom-meeting-1.7.2.min.js:2
> success @ zoom.js:45
> z @ zoom-meeting-1.7.2.min.js:2
> value @ zoom-meeting-1.7.2.min.js:2
> m @ zoom-meeting-1.7.2.min.js:2
> init @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ zoom.js:25
> setTimeout (async)
> (anonymous) @ zoom.js:10
> (anonymous) @ zoom.js:70
> react-dom.min.js:157 Uncaught ReferenceError: JsMediaSDK_Instance is not defined
> at t.value (zoom-meeting-1.7.2.min.js:2)
> at t.value (zoom-meeting-1.7.2.min.js:2)
> at qi (react-dom.min.js:130)
> at ui (react-dom.min.js:133)
> at react-dom.min.js:158
> at unstable_runWithPriority (react.min.js:27)
> at Vc (react-dom.min.js:158)
> at Sc (react-dom.min.js:158)
> at Z (react-dom.min.js:156)
> at Zg (react-dom.min.js:159)
> value @ zoom-meeting-1.7.2.min.js:2
> value @ zoom-meeting-1.7.2.min.js:2
> qi @ react-dom.min.js:130
> ui @ react-dom.min.js:133
> (anonymous) @ react-dom.min.js:158
> unstable_runWithPriority @ react.min.js:27
> Vc @ react-dom.min.js:158
> Sc @ react-dom.min.js:158
> Z @ react-dom.min.js:156
> Zg @ react-dom.min.js:159
> notify @ zoom-meeting-1.7.2.min.js:2
> t.notifyNestedSubs @ zoom-meeting-1.7.2.min.js:2
> n.notifySubscribers @ zoom-meeting-1.7.2.min.js:2
> t.handleChangeWrapper @ zoom-meeting-1.7.2.min.js:2
> a @ redux.min.js:1
> (anonymous) @ redux-thunk.min.js:1
> dispatch @ redux.min.js:1
> success @ zoom-meeting-1.7.2.min.js:2
> c @ jquery.min.js:2
> fireWith @ jquery.min.js:2
> l @ jquery.min.js:2
> (anonymous) @ jquery.min.js:2
> load (async)
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> (anonymous) @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ redux-thunk.min.js:1
> (anonymous) @ redux.min.js:1
> value @ zoom-meeting-1.7.2.min.js:2
> m @ zoom-meeting-1.7.2.min.js:2
> b @ zoom-meeting-1.7.2.min.js:2
> success @ zoom-meeting-1.7.2.min.js:2
> c @ jquery.min.js:2
> fireWith @ jquery.min.js:2
> l @ jquery.min.js:2
> i @ jquery.min.js:2
> dispatch @ jquery.min.js:2
> v.handle @ jquery.min.js:2
> load (async)
> add @ jquery.min.js:2
> (anonymous) @ jquery.min.js:2
> each @ jquery.min.js:2
> each @ jquery.min.js:2
> Ae @ jquery.min.js:2
> on @ jquery.min.js:2
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> i @ zoom-meeting-1.7.2.min.js:2
> y @ zoom-meeting-1.7.2.min.js:2
> join @ zoom-meeting-1.7.2.min.js:2
> success @ zoom.js:45
> z @ zoom-meeting-1.7.2.min.js:2
> value @ zoom-meeting-1.7.2.min.js:2
> m @ zoom-meeting-1.7.2.min.js:2
> init @ zoom-meeting-1.7.2.min.js:2
> (anonymous) @ zoom.js:25
> setTimeout (async)
> (anonymous) @ zoom.js:10
> (anonymous) @ zoom.js:70
> zoom-meeting-1.7.2.min.js:2 Uncaught TypeError: v.a.connect_socket is not a function
> at ie (zoom-meeting-1.7.2.min.js:2)
> at N (zoom-meeting-1.7.2.min.js:2)
> at zoom-meeting-1.7.2.min.js:2
> at redux-thunk.min.js:1
> at onTick (zoom-meeting-1.7.2.min.js:2)
> at zoom-meeting-1.7.2.min.js:2
> at Map.forEach (<anonymous>)
> at zoom-meeting-1.7.2.min.js:2
> ```
> 
> ````

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 20, 2020, 9:03pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/22 "2020-03-20T21:03:43Z")

</div>

Hey @pmogollon, thanks for posting and using Zoom!

Can you try using the [Global CDN](https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate):

```auto
// For Global use source.zoom.us:
ZoomMtg.setZoomJSLib('https://source.zoom.us/1.7.2/lib', '/av'); 

```

I’m wondering if the requested resources are not returned in time before you call:

```auto
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk(); 

ZoomMtg.Init()
ZoomMtg.Join()

```

Maybe add a timeout to allow the request to finish first.

* * *

Or try hosting the files [locally](https://www.npmjs.com/package/@zoomus/websdk):

```auto
ZoomMtg.setZoomJSLib('node_modules/@zoomus/websdk/dist/lib', '/av');

```

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![pmogollon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pmogollon/32/15868_2.png) [@pmogollon](https://devforum.zoom.us/u/pmogollon)\
**Post date:** [March 20, 2020, 9:21pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/23 "2020-03-20T21:21:23Z")

</div>

Hi @tommy,

Thanks for the fast response.

We where having more issues with global cdn and we switched as this thread suggested.

> [@tommy](#):
>
> I’m wondering if the requested resources are not returned in time before you call:

I think thats the case, ill add a timeout and try hosting locally.

Ill post back if I still have the issue.

Thanks.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 20, 2020, 9:24pm UTC](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928/24 "2020-03-20T21:24:25Z")

</div>

Hey @pmogollon, happy to help!

Yes try hosting locally, or using the CDN with a timeout.

Let us know if you run into any issues.

Thanks,  
Tommy

[Next page](https://devforum.zoom.us/t/missing-jsmediasdk-instance/3928.md?page=2)
