# Umd build 1.8.1

**URL:** <https://devforum.zoom.us/t/umd-build-1-8-1/32640>\
**Category:** Web\
**Created:** [October 8, 2020, 4:55pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640 "2020-10-08T16:55:02Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![liane](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@liane](https://devforum.zoom.us/u/liane)\
**Post date:** [October 8, 2020, 4:55pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/1 "2020-10-08T16:55:02Z")

</div>

After having played with the websdk with CDN files (1.8.0), I installed locally with npm but the zoomus-websdk.umd.min.js (1.8.1) is built for ES6, not ES5 and does not load properly in browser

Uncaught TypeError: Cannot read property ‘Component’ of undefined  
at zoomus-websdk.umd.min.js:2  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object. (zoomus-websdk.umd.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:** [October 9, 2020, 8:07pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/2 "2020-10-09T20:07:54Z")

</div>

Hey @liane,

Can you please provide steps to reproduce the issue? I am not seeing this issue. Are you using a single page app framework like React or Angular?

If so, you can reference our Angular Web SDK sample app:

> **[zoom/websdk-sample-angular](https://github.com/zoom/websdk-sample-angular)**
>
> Use the Zoom Web SDK in an Angular App. Contribute to zoom/websdk-sample-angular development by creating an account on GitHub.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![liane](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@liane](https://devforum.zoom.us/u/liane)\
**Post date:** [October 9, 2020, 10:03pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/3 "2020-10-09T22:03:53Z")

</div>

Hi @tommy, thanks for looking at this.

look at these files:

the CDN one: [https://source.zoom.us/zoom-meeting-1.8.1.min.js](https://source.zoom.us/zoom-meeting-1.8.1.min.js)  
first line: // [Zoom Meeting Web Client WebSDK] 1.8.1\_20200921\_ES5\_release - Monday, September 21st, 2020, 9:42:28 AM

the NPM one installed with npm install @zoomus/websdk@1.8.1: node\_modules/@zoomus/websdk/dist/zoomus-websdk.umd.min.js  
first line: // [Zoom Meeting Web Client WebSDK] 1.8.1\_20200921\_ES6\_release - Monday, September 21st, 2020, 10:06:48 AM

This comment in itself is not a problem, but if you link this file without using a transpiler, javascript will choke because apart from being ES6, the NPM code relies on things like “require”, not really browser friendly

I plan to use the websdk in a single web page, and using npm will assure me of being up-to-date, but I think a UMD file should be used without needing to be transpiled to be used.

single steps to reproduce: just put this into a html page (after installing with npm of course):

```
<script src="node_modules/react/umd/react.production.min.js"></script>
<script src="node_modules/react-dom/umd/react-dom.production.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/jquery/dist/jquery.min.js"></script>
<script src="node_modules/lodash/lodash.min.js"></script>
<script src="node_modules/@zoomus/websdk/dist/zoomus-websdk.umd.min.js"></script>
```

---

<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:** [October 12, 2020, 7:23pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/4 "2020-10-12T19:23:48Z")

</div>

Thanks for the additional details @liane.

I will bring this up to our team and see what we can do. 🙂 (CS-2382)

-Tommy

---

<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:** [November 9, 2020, 5:05pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/5 "2020-11-09T17:05:11Z")

</div>

Hey @liane,

We are planning to fix this in Web SDK version 1.8.2. 🙂

Stay updated here:

> **[Web SDK - Upcoming Changes - Stay Up To Date - Documentation](https://marketplace.zoom.us/docs/guides/stay-up-to-date/upcoming-changes/web-sdk)**
>
> Web SDK

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![liane](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@liane](https://devforum.zoom.us/u/liane)\
**Post date:** [November 9, 2020, 5:17pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/6 "2020-11-09T17:17:07Z")

</div>

@tommy Great news, thanks a lot!

---

<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:** [November 10, 2020, 7:22pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/7 "2020-11-10T19:22:58Z")

</div>

You are welcome! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![liane](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@liane](https://devforum.zoom.us/u/liane)\
**Post date:** [November 18, 2020, 11:13am UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/8 "2020-11-18T11:13:19Z")

</div>

@tommy just updated to 1.8.3 and unfortunately, the files are still not built the same way:

[https://source.zoom.us/zoom-meeting-1.8.3.min.js](https://source.zoom.us/zoom-meeting-1.8.3.min.js)  
// [Zoom Meeting Web Client WebSDK] 1.8.3\_20201116\_ES5\_release - Monday, November 16th, 2020, 2:45:39 PM

node\_modules/@zoomus/websdk/dist/zoomus-websdk.umd.min.js  
// [Zoom Meeting Web Client WebSDK] 1.8.3\_20201116\_ES6\_release - Monday, November 16th, 2020, 4:05:30 PM

---

<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:** [November 19, 2020, 7:31pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/9 "2020-11-19T19:31:28Z")

</div>

Hey @liane,

Sorry to hear that. Let me check with our engineers to see if / why this was left out of the release.

Thanks,  
Tommy

---

<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:** [November 19, 2020, 8:56pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/10 "2020-11-19T20:56:10Z")

</div>

Hey @liane,

Apologies, this fix was not released in version 1.8.3. We are evaluating when we can include this.

Once I know the version number I will let you know. 🙂

Thanks,  
Tommy

---

<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:** [November 20, 2020, 5:23pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/11 "2020-11-20T17:23:40Z")

</div>

Hey @liane,

We will be adding an es5 Web SDK version to the npm repo when we release 1.8.5, it’s browser friendly. 🙂

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

Thanks,  
Tommy

---

<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:** [December 21, 2020, 3:23am UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/12 "2020-12-21T03:23:41Z")

</div>

Closed on December 21, 2020, 3:23am UTC

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

---

<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:** [December 22, 2020, 9:27pm UTC](https://devforum.zoom.us/t/umd-build-1-8-1/32640/13 "2020-12-22T21:27:55Z")

</div>

Hey @liane,

ES5 support within the NPM package is now supported in Web SDK version 1.8.5.

Please see the release log for more details:

> [@(ACTION REQUIRED) Web SDK update version 1.8.5](https://devforum.zoom.us/t/action-required-web-sdk-update-version-1-8-5/39004):
>
> Hello Zoom Developers, here are the updates for the Web SDK version 1.8.5 release: Please note that as of January 10th, all older versions of the Web SDK (versions 1.8.3 and below) will no longer have computer audio functionality within meetings. Please upgrade to version 1.8.5 or above to avoid service disruption. To complete alignment with Zoom’s security initiative, including the new AES 256-bit GCM encryption, we will disable un-encrypted audio within meetings that are not using AES 256-bit…

Thanks,  
Tommy
