# PureJS demo not working

**URL:** <https://devforum.zoom.us/t/purejs-demo-not-working/80839>\
**Category:** Web\
**Created:** [December 28, 2022, 6:14pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839 "2022-12-28T18:14:01Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [December 28, 2022, 6:14pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/1 "2022-12-28T18:14:01Z")

</div>

@tommy Sorry for your busy but can you please help me to resolve my issue?

- I can not init Video SDK on Purejs repo demo.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/f/5fc39db098c72930934131372bbdd15d9a29f7c0.png)  
P/s: Sometimes i got this error: Access to script at ‘[https://source.zoom.us/videosdk/1.5.5/lib/js\_media.min.js](https://source.zoom.us/videosdk/1.5.5/lib/js_media.min.js)’ from origin ‘[http://localhost:3000](http://localhost:3000)’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 28, 2022, 6:17pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/2 "2022-12-28T18:17:09Z")

</div>

Hi @tuanthinhit, Please verify that you have configured valid SDK Key and Secret.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 28, 2022, 6:18pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/3 "2022-12-28T18:18:22Z")

</div>

For CORS quick fix watch session → [here](https://youtu.be/2FlInnoYOkY).

---

<div class="post-metadata">

**Author:** ![kellyjandrews](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kellyjandrews/32/51599_2.png) [@kellyjandrews](https://devforum.zoom.us/u/kellyjandrews)\
**Post date:** [December 28, 2022, 6:21pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/4 "2022-12-28T18:21:53Z")

</div>

The console error looks more like a credential issue. I would verify the Video SDK credentials you are using are correct.

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [December 28, 2022, 6:51pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/5 "2022-12-28T18:51:52Z")

</div>

Thank you. let me check

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [December 28, 2022, 6:53pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/6 "2022-12-28T18:53:53Z")

</div>

@kellyjandrews I used both JWT and Meeting SDK but was still no success. Thank you

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 28, 2022, 7:01pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/7 "2022-12-28T19:01:50Z")

</div>

@tuanthinhit You needed Video SDK Creds. For that, you first need to [create a Video SDK Dev account](https://zoom.us/buy/videosdk).

Don’t worry you have free 10,000 mints with that account without any charges. Then [navigate](https://marketplace.zoom.us/develop/) click on Video SDK and get **SDK Creds**.

Note: **Please use your working email for registration**.

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [December 28, 2022, 7:05pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/8 "2022-12-28T19:05:10Z")

</div>

@freelancer.nak Do you mean Video SDK same as Meeting SDK?

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

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 28, 2022, 7:07pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/9 "2022-12-28T19:07:12Z")

</div>

Nope, please create account first 👇

> [@freelancer.nak](#):
>
> [create a Video SDK Dev account](https://zoom.us/buy/videosdk).

While creating account please make sure 👇

> [@freelancer.nak](#):
>
> Note: **Please use your working email for registration**.

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [December 28, 2022, 7:29pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/10 "2022-12-28T19:29:20Z")

</div>

@freelancer.nak Can i register it without payment? i can not create a payment so how can i access purejs-demo?

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 28, 2022, 7:33pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/11 "2022-12-28T19:33:56Z")

</div>

During registration, you must select ‘Pay as You Go’ and enter your payment info. You will not be charged until you consumed 10,000 mints/ month.

Then navigate

> [@freelancer.nak](#):
>
> [navigate](https://marketplace.zoom.us/develop/)

And get Video SDK Creds, Set those to your PureJS demo and build the demo.

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [December 29, 2022, 1:03am UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/12 "2022-12-29T01:03:46Z")

</div>

Dear @freelancer.nak  
I have add my payment but i can not find where to get Video SDK to set in PureJs demo. Can you please help me?  
Thank.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 29, 2022, 1:41am UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/13 "2022-12-29T01:41:02Z")

</div>

Hi @tuanthinhit, 👇

 ![Screenshot 2022-12-29 at 6.38.08 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/4/141cfeb509ff386f9e8e58f68e371caa94441d15.jpeg)

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [December 29, 2022, 1:50am UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/14 "2022-12-29T01:50:00Z")

</div>

Dear @freelancer.nak  
I just find Build App, do not find Build Video SDK

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/9/792ae446edff7c594fc31b1b5783007a505e0cc5.jpeg)

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 29, 2022, 1:51am UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/15 "2022-12-29T01:51:59Z")

</div>

Please use a different working email while registering as I already mentioned.

---

<div class="post-metadata">

**Author:** ![anawilliam850](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anawilliam850/32/33827_2.png) [@anawilliam850](https://devforum.zoom.us/u/anawilliam850)\
**Post date:** [December 29, 2022, 2:13am UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/16 "2022-12-29T02:13:31Z")

</div>

> [@tuanthinhit](#):
>
> Sorry for your busy but can you please help me to resolve my issue?
> 
> - I can not init Video SDK on Purejs repo demo.

you can also install the Video SDK as a dependency in your project using a package manager such as npm or yarn, and then import it into your JavaScript code:  
import Twilio from ‘twilio-client’;

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 29, 2022, 11:05pm UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/17 "2022-12-29T23:05:43Z")

</div>

@tuanthinhit Here is the [session](https://youtu.be/t8IAvgRjpV4) regarding Zoom Video SDK Integration using ReactJS.

---

<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:** [January 29, 2023, 9:06am UTC](https://devforum.zoom.us/t/purejs-demo-not-working/80839/18 "2023-01-29T09:06:01Z")

</div>

Closed on January 29, 2023, 9:06am UTC

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