# Use web SDK in the electron app

**URL:** <https://devforum.zoom.us/t/use-web-sdk-in-the-electron-app/125489>\
**Category:** Web\
**Created:** [January 29, 2025, 6:37am UTC](https://devforum.zoom.us/t/use-web-sdk-in-the-electron-app/125489 "2025-01-29T06:37:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indraraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/indraraj/32/50702_2.png) [@Indraraj](https://devforum.zoom.us/u/Indraraj)\
**Post date:** [January 29, 2025, 6:37am UTC](https://devforum.zoom.us/t/use-web-sdk-in-the-electron-app/125489/1 "2025-01-29T06:37:27Z")

</div>

**Description**  
Websdk is working fine from the web, Is it possible to use the same in the electron app ?

**Browser Console Error**

```auto
Refused to load the script source zoom url/zoomus-websdk-zoommtgMain.umd.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

```

**Which Web Meeting SDK version?**  
Knowing the version can help us to identify your issue faster. [e.g. 1.9.9]

**Meeting SDK Code Snippets**  
I added dependency locally so that it does not require to reach it out zoom for cors.

```auto
<!-- Dependencies for client view and component view -->
        <script src="[dot] /zoom-lib/react.min.js"></script>
        <script src="[dot] /zoom-lib/react-dom.min.js"></script>
        <script src="[dot] /zoom-lib/redux.min.js"></script>
        <script src="[dot] /zoom-lib/redux-thunk.min.js"></script>
        <script src="[dot] /zoom-lib/lodash.min.js"></script>
        
        <script src="[dot] /zoom-lib/zoom-meeting-3.11.0.min.js"></script>

```

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**

**Troubleshooting Routes**

**Device (please complete the following information):**

- Device: [e.g. Macbook Pro] Dell
- OS: [e.g. macOS 11] Windows 11 Pro
- Browser: [e.g. Chrome] Electron
- Browser Version [e.g. 88.0.4324.150 (Official Build) (x86\_64)]

**Additional context**  
I see zoom-meeting-3.11.0.min is trying to fetch it from source[dot]zoom[dot]us and is there a way to store those required file in the locally so that it does not need to fetch it from server

---

<div class="post-metadata">

**Author:** ![Indraraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/indraraj/32/50702_2.png) [@Indraraj](https://devforum.zoom.us/u/Indraraj)\
**Post date:** [January 29, 2025, 6:38am UTC](https://devforum.zoom.us/t/use-web-sdk-in-the-electron-app/125489/2 "2025-01-29T06:38:33Z")

</div>

```auto
zoom-meeting-3.11.0.min.js:2 Refused to load the script 'https://source.zoom.us/3.11.0/ui/zoomus-websdk-zoommtgMain.umd.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
a.l	@	zoom-meeting-3.11.0.min.js:2
a.f.j	@	zoom-meeting-3.11.0.min.js:2
(anonymous)	@	zoom-meeting-3.11.0.min.js:2
a.e	@	zoom-meeting-3.11.0.min.js:2
(anonymous)	@	zoom-meeting-3.11.0.min.js:2
startMeeting	@	zoom-meeting.js:43
(anonymous)	@	zoom-meeting.js:33
Promise.then		
getSignature	@	zoom-meeting.js:31
onclick	@	index.html:25
zoom-meeting-3.11.0.min.js:2 Uncaught (in promise) ChunkLoadError: Loading chunk 8355 failed.
(error: https://source.zoom.us/3.11.0/ui/zoomus-websdk-zoommtgMain.umd.min.js)
    at a.f.j (zoom-meeting-3.11.0.min.js:2:882940)
    at zoom-meeting-3.11.0.min.js:2:879203
    at Array.reduce (<anonymous>)
    at a.e (zoom-meeting-3.11.0.min.js:2:879168)
    at Proxy.<anonymous> (zoom-meeting-3.11.0.min.js:2:404974)
    at startMeeting (zoom-meeting.js:43:11)
    at zoom-meeting.js:33:7

```

---

<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:** [February 28, 2025, 4:39pm UTC](https://devforum.zoom.us/t/use-web-sdk-in-the-electron-app/125489/3 "2025-02-28T16:39:11Z")

</div>

Closed on February 28, 2025, 4:39pm UTC

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