# React project: JsMediaSDK\_Instance is not defined

**URL:** <https://devforum.zoom.us/t/react-project-jsmediasdk-instance-is-not-defined/43987>\
**Category:** Web\
**Created:** [February 22, 2021, 6:57pm UTC](https://devforum.zoom.us/t/react-project-jsmediasdk-instance-is-not-defined/43987 "2021-02-22T18:57:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![murilo.alves](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murilo.alves/32/17373_2.png) [@murilo.alves](https://devforum.zoom.us/u/murilo.alves)\
**Post date:** [February 22, 2021, 6:57pm UTC](https://devforum.zoom.us/t/react-project-jsmediasdk-instance-is-not-defined/43987/1 "2021-02-22T18:57:34Z")

</div>

**Description**  
I’m trying to integrate the Web SDK with React, but It has not been successful.  
When I try to join a meeting the error “Uncaught ReferenceError: JsMediaSDK\_Instance is not defined” shows up. I saw that here in the forum there are a lot of issues related to it, none of the suggested solutions solved my problem. Is there a way to fix that? I would really appreciate some help on that.

I created a repo in GitHub to be easier to show my code. the main file is this one:  
[https://github.com/MuriloDutra/react-zoom/blob/master/src/App.js](https://github.com/MuriloDutra/react-zoom/blob/master/src/App.js)

**Error**  
zoomus-websdk.umd.min.js:2 Uncaught ReferenceError: JsMediaSDK\_Instance is not defined

**Which Client Web SDK version?**  
“@zoomus/websdk”: “^1.9.0”

**Screenshots**  
**ADD:** Appearly I can access the meeting because I tested with one real user, through Zoom desktop app and then tried to access the meeting through my react application. The real user can see the react user in the meeting, but my application can’t show none of them.

_Zoom Desktop app_

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/6/06c4c20565b9825200e5b61a9766248e01e13ed5.png)

_My react application_

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/8/486a669496054dfe4d92a73f9bebc19eaaf86b96.png)

**Device:**

- Chrome: 88.0.4324.182 (Versão oficial) 64 bits
- Brave: 1.20.108 Chromium: 88.0.4324.182 (Versão oficial) 64 bits

---

<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:** [February 22, 2021, 10:49pm UTC](https://devforum.zoom.us/t/react-project-jsmediasdk-instance-is-not-defined/43987/2 "2021-02-22T22:49:32Z")

</div>

Hey @murilo.alves ,

Have you referenced the React Web SDK sample app? 🙂

You can check it out here: [GitHub - zoom/websdk-sample-react: Use the Zoom Web SDK in a React App](https://github.com/zoom/websdk-sample-react)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![murilo.alves](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murilo.alves/32/17373_2.png) [@murilo.alves](https://devforum.zoom.us/u/murilo.alves)\
**Post date:** [February 23, 2021, 2:47am UTC](https://devforum.zoom.us/t/react-project-jsmediasdk-instance-is-not-defined/43987/3 "2021-02-23T02:47:49Z")

</div>

Thanks @tommy I’m going to use this example and see how it goes, thanks for the tip!

---

<div class="post-metadata">

**Author:** ![murilo.alves](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murilo.alves/32/17373_2.png) [@murilo.alves](https://devforum.zoom.us/u/murilo.alves)\
**Post date:** [February 23, 2021, 2:11pm UTC](https://devforum.zoom.us/t/react-project-jsmediasdk-instance-is-not-defined/43987/4 "2021-02-23T14:11:57Z")

</div>

Thanks @tommy, the repo worked for me.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 23, 2021, 10:15pm UTC](https://devforum.zoom.us/t/react-project-jsmediasdk-instance-is-not-defined/43987/5 "2021-02-23T22:15:05Z")

</div>

Hey @murilo.alves,

I’m glad to hear that @tommy resolved your issue! Please don’t hesitate to reach out if you encounter any further issues or questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 26, 2021, 8:15am UTC](https://devforum.zoom.us/t/react-project-jsmediasdk-instance-is-not-defined/43987/6 "2021-03-26T08:15:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
