# Is there an HTML sample for the SDK that uses either local or CDN resources?

**URL:** <https://devforum.zoom.us/t/is-there-an-html-sample-for-the-sdk-that-uses-either-local-or-cdn-resources/42980>\
**Category:** Web\
**Created:** [February 10, 2021, 4:44am UTC](https://devforum.zoom.us/t/is-there-an-html-sample-for-the-sdk-that-uses-either-local-or-cdn-resources/42980 "2021-02-10T04:44:26Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![bekit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bekit/32/26056_2.png) [@bekit](https://devforum.zoom.us/u/bekit)\
**Post date:** [April 22, 2021, 5:46pm UTC](https://devforum.zoom.us/t/is-there-an-html-sample-for-the-sdk-that-uses-either-local-or-cdn-resources/42980/8 "2021-04-22T17:46:21Z")

</div>

Sure thing.

First thing I did was get the sample app in the web video sdk working (following all of the steps to npm install and copy over the `@zoomus` folder, etc.). Once I had that working, I installed [Browserify](http://browserify.org/) globally.

Then I created a simple file that would bring in the instantsdk source. For an example, let’s call it `main.js`. Place this in the root of the `Sample` folder. This file just had one line in it:

```
global.ZoomInstant = require("@zoomus/instantsdk");

```

Then run browserify on it:

```
browserify main.js -o zoomus-instantsdk.js

```

That packages it up into the single `zoomus-instantsdk.js` file that when imported will give you a global object `ZoomInstant` to access the SDK.

In addition, you have to take the `public/lib` folder and host it somewhere accessible (until the CDN is available). When you do your `init`, you have to pass this location. For example:

```
zoomClient = ZoomInstant.createClient();
await zoomClient.init("en-US", `${window.location.origin}/path/to/lib`);

```

I’m hoping that this is close enough to what will be released when Zoom provides their own bundle version that I’ll be able to swap in the official version with only minor changes.

Hope this helps!

---

_[View the full topic](https://devforum.zoom.us/t/is-there-an-html-sample-for-the-sdk-that-uses-either-local-or-cdn-resources/42980)._
