# JSMediaSdk\_Instance not defined

**URL:** <https://devforum.zoom.us/t/jsmediasdk-instance-not-defined/8177>\
**Category:** Web\
**Created:** [February 21, 2020, 9:19am UTC](https://devforum.zoom.us/t/jsmediasdk-instance-not-defined/8177 "2020-02-21T09:19:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![harald.glanzer](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@harald.glanzer](https://devforum.zoom.us/u/harald.glanzer)\
**Post date:** [February 25, 2020, 12:26pm UTC](https://devforum.zoom.us/t/jsmediasdk-instance-not-defined/8177/3 "2020-02-25T12:26:00Z")

</div>

hello again,

looks like this can be circumvented by setting

ZoomMtg.setZoomJSLib(‘http://[URL]/node\_modules/@zoomus/websdk/dist/lib’, ‘/av’);

… and copying ‘node\_modules/@zoomus/websdk/dist/lib’ to the corresponding webroot. this way, the AV libs dont need to be fetched from the default URL ([source.zoom.us](http://source.zoom.us) i guess), and JsMediaSDK\_Instance is known instantly…

@zoom: is it possible that this JsMediaSDK\_Instance - error can be triggered by calling ZoomMtg.join() BEFORE ZoomMtg.prepareJssdk(); and / or ZoomMtg.preLoadWasm(); have finished?

FYI  
hari

---

_[View the full topic](https://devforum.zoom.us/t/jsmediasdk-instance-not-defined/8177)._
