# No AUDIO or INTERACTION in Webinar with Web SDK

**URL:** <https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478>\
**Category:** Web\
**Created:** [May 29, 2020, 1:09am UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478 "2020-05-29T01:09:30Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabrielsmelo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabrielsmelo.dev/32/9438_2.png) [@gabrielsmelo.dev](https://devforum.zoom.us/u/gabrielsmelo.dev)\
**Post date:** [May 29, 2020, 1:09am UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/1 "2020-05-29T01:09:30Z")

</div>

**Description**  
I was trying to have support to Webinars in my application with Zoom Web Client, but it was not working and after navigating through this forum, I was recommended to switch to Zoom Web SDK.

After installing everything and managing to Join in the webinar, I’m now not being able to click on anything.

I mean, the things I click just doesn’t have effect.  
Like “joining with computer audio” or anything else.

The only clue I get is an **Websocket** error, shown below.

Besides that, I’d also like to change the Width of the HTML Div added to my application when I’m using the Web SDK. Maybe I could have opened another topic for that but maybe it’s simple and you guys could tell me how to do that through here?

**Error**  
`WebSocket connection to 'wss://xmppwsswebinar.zoom.us/xmpp-websocket' failed: Data frame received after close`

**Which version?**  
**Zoom Web SDK V. 1.7.8**

**Screenshots**  
I don’t have screenshots to exemplify that. It’s simply that: I can’t interact with any buttons. I click on things but nothing happens.

---

<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:** [June 3, 2020, 5:43pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/2 "2020-06-03T17:43:21Z")

</div>

Hey @gabrielsmelo.dev,

That is strange, what device are you using? Are you serving your site over `https`?

Screenshots would be helpful as I cannot reproduce this issue.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gabrielsmelo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabrielsmelo.dev/32/9438_2.png) [@gabrielsmelo.dev](https://devforum.zoom.us/u/gabrielsmelo.dev)\
**Post date:** [June 29, 2020, 8:56pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/3 "2020-06-29T20:56:51Z")

</div>

Hi @tommy, yes I’m serving over https, and I’m using Windows + Chrome.

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

Here’s an example… I have your element inside my page, but when I’m clicking on “Check Captcha”, nothing happens. Just like if it the buttons hasn’t interactivity.

---

<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:** [June 30, 2020, 8:42pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/4 "2020-06-30T20:42:35Z")

</div>

Hey @gabrielsmelo.dev,

Are you embedding the Web SDK into your site via an iFrame? If so, you may need to add the `allow-scripts` attribute to your iFrame.

[https://www.w3schools.com/tags/att\_iframe\_sandbox.asp](https://www.w3schools.com/tags/att_iframe_sandbox.asp)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gabrielsmelo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabrielsmelo.dev/32/9438_2.png) [@gabrielsmelo.dev](https://devforum.zoom.us/u/gabrielsmelo.dev)\
**Post date:** [July 1, 2020, 11:51am UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/5 "2020-07-01T11:51:33Z")

</div>

Hi @tommy,

I’m not embedding via an iFrame. I was doing that before, but I was oriented to use WebSDK because the iframe does not supports Zoom Webinars.  
The div with the video is being injected automatically by your WebSDK in the body of my website.

Thanks,

---

<div class="post-metadata">

**Author:** ![gabrielsmelo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabrielsmelo.dev/32/9438_2.png) [@gabrielsmelo.dev](https://devforum.zoom.us/u/gabrielsmelo.dev)\
**Post date:** [July 2, 2020, 1:24pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/6 "2020-07-02T13:24:28Z")

</div>

And just to let you know, I’ve installed the web SDK through npm in my node-based project…

I’m doing

```
ZoomMtg.setZoomJSLib(`${window.location.origin}/zoom`, "/av");

ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

created () {

        const config = this.$store.getters["meeting/featureSetting"]("videoConfig") || {};

        const pwd = config.zoomPassword || "";

        const baseId = config.zoomId || "";

        const id = String(baseId).replace(/[^\d]/g, "");

        API("GET", `/api/zoomus/getSignature/${id}`)

            .then(res1 => {

                const signature = res1.result;

                console.log(signature);

                ZoomMtg.init({

                    "debug": true,

                    "leaveUrl": "http://www.meet.ps",

                    "isSupportAV": true,

                    success () {

                        console.log("//// INIT SUCCESSFULL.");

                        console.log(`JOINING TO MEETING ${id}`);

                        ZoomMtg.join({

                            "meetingNumber": id,

                            "userName": "",

                            "signature": signature,

                            "apiKey": "",

                            "userEmail": "",

                            "passWord": pwd,

                            success (res) {

                                console.log("MEETING JOIN SUCCESS.");

                                console.log(res);

                                let buttonFound = false;

                                const t = setInterval(() => {

                                    const startButton = document.getElementById("pc-join");

                                    if (startButton != null) {

                                        buttonFound = true;

                                        startButton.click();

                                    }

                                    if (startButton == null && buttonFound) {

                                        console.log("button found");

                                        clearInterval(t);

                                    }

                                }, 500);

                            },

                            error (err) {

                                console.log("MEETING JOINING ERROR");

                                console.log(err);

                            },

                        });

                    },

                    error (err) {

                        console.log("INIT ERROR..");

                        console.log(err);

                    },

                });

            });

```

and it seems to load fine, init, try to join the meeting… but as I told you, when clicking in “check captcha” nothing happens.

P.S: I’m already using **v1.7.9**

---

<div class="post-metadata">

**Author:** ![gabrielsmelo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabrielsmelo.dev/32/9438_2.png) [@gabrielsmelo.dev](https://devforum.zoom.us/u/gabrielsmelo.dev)\
**Post date:** [July 2, 2020, 7:15pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/8 "2020-07-02T19:15:20Z")

</div>

@tommy I"m also getting the following error

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

---

<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:** [July 7, 2020, 2:13am UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/11 "2020-07-07T02:13:23Z")

</div>

Hey @gabrielsmelo.dev,

For the recaptcha issue, please see the posts after yours this thread:

> [@Web SDK version 1.7.9 is released!](https://devforum.zoom.us/t/web-sdk-version-1-7-9-is-released/22657/14):
>
> [https://zoom.github.io/sample-app-web/captcha](https://zoom.github.io/sample-app-web/captcha) here is captcha help doc if you don’t run websdk 443/80, we provide fixed version [https://raw.githubusercontent.com/zoom/sample-app-web/master/CDN/js/zoom-meeting-1.7.9.1.min.js](https://raw.githubusercontent.com/zoom/sample-app-web/master/CDN/js/zoom-meeting-1.7.9.1.min.js)

Let me know if that helps! If not, I am happy to help investigate further.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gabrielsmelo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabrielsmelo.dev/32/9438_2.png) [@gabrielsmelo.dev](https://devforum.zoom.us/u/gabrielsmelo.dev)\
**Post date:** [July 13, 2020, 6:22pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/12 "2020-07-13T18:22:03Z")

</div>

Hi @tommy

No, it doesn’t helps.  
I still have NO interaction when clicking in the “check captcha” button, even if I click on it 4 times.

As I told you before, I receive that “join error”, but it seems there is no javascript/event handling on this component injected by your SDK. Because when I click in the button NOTHING happens. Just like if we have only the HTML but not Javascript under the hood.

Anyways, I’m attaching my code so you can see if maybe I’m missing something.  
In before: Yes, the “wasm” loads fine.

Just to let you know,… this is a Vue.js component.

```
<!-- Zoom meeting provider -->

<template>
    <div class="video-embed-container">
    </div>
</template>

<script>
import Base64URL from "base64url";
import UAParser from "ua-parser-js";
import $ from "jquery";

import { API, FeedbackMessage } from "common";
import { ZoomMtg } from "@zoomus/websdk";

ZoomMtg.setZoomJSLib("https://source.zoom.us/1.7.9/lib", "/av");

ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();

$("#zmmtg-root").bind("DOMSubtreeModified", () => {
    $("#zmmtg-root").css("width", "75%");
    $("#zmmtg-root").find(".main-content").css("width", "100%");
    $(".video-vue").append($("#zmmtg-root"));
});

export default {
    "props": {
        "name": String,
        "email": String,
    },

    created () {
        const config = this.$store.getters["meeting/featureSetting"]("videoConfig") || {};
        const pwd = config.zoomPassword || "";
        const baseId = config.zoomId || "";
        const id = String(baseId).replace(/[^\d]/g, "");

        API("GET", `/api/zoomus/getSignature/${id}`)
            .then(res1 => {
                const signature = res1.result;
                console.log(signature);
                ZoomMtg.init({
                    "debug": true,
                    "leaveUrl": "http://www.meet.ps",
                    "isSupportAV": true,
                    success () {
                        console.log("//// INIT SUCCESSFULL.");
                        console.log(`JOINING TO MEETING ${id}`);
                        ZoomMtg.join({
                            "meetingNumber": id,
                            "userName": "",
                            "signature": signature,
                            "apiKey": "",
                            "userEmail": "",
                            "passWord": pwd,
                            success (res) {
                                console.log("MEETING JOIN SUCCESS.");
                                console.log(res);

                                let buttonFound = false;
                                const t = setInterval(() => {
                                    const startButton = document.getElementById("pc-join");
                                    if (startButton != null) {
                                        buttonFound = true;
                                        startButton.click();
                                    }

                                    if (startButton == null && buttonFound) {
                                        console.log("button found");
                                        clearInterval(t);
                                    }
                                }, 500);
                            },
                            error (err) {
                                console.log("MEETING JOINING ERROR");
                                console.log(err);
                            },
                        });
                    },
                    error (err) {
                        console.log("INIT ERROR..");
                        console.log(err);
                    },
                });
            });
    },
```

---

<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:** [July 15, 2020, 11:35pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/13 "2020-07-15T23:35:24Z")

</div>

Hey @gabrielsmelo.dev,

I believe the issue is having both the CDN link and the local link:

```auto
import { ZoomMtg } from "@zoomus/websdk";

ZoomMtg.setZoomJSLib("https://source.zoom.us/1.7.9/lib", "/av");

```

If you are using the local method, can you instead point the url to the path of the Web SDK files in node module instead of `source.zoom.us`? Here is the guide:

> **[@zoomus/websdk](https://www.npmjs.com/package/@zoomus/websdk)**
>
> Zoom Web SDK

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gabrielsmelo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabrielsmelo.dev/32/9438_2.png) [@gabrielsmelo.dev](https://devforum.zoom.us/u/gabrielsmelo.dev)\
**Post date:** [August 19, 2020, 1:36pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/14 "2020-08-19T13:36:41Z")

</div>

Hi @tommy, I did that, but I’m still not being able to interact with the page.

In addition to that, I’m receiving those warnings:

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

---

<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:** [August 20, 2020, 5:36pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/15 "2020-08-20T17:36:43Z")

</div>

Hey @gabrielsmelo.dev,

Can you share a github repo with the issue so I can debug locally?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![gabrielsmelo.dev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabrielsmelo.dev/32/9438_2.png) [@gabrielsmelo.dev](https://devforum.zoom.us/u/gabrielsmelo.dev)\
**Post date:** [August 20, 2020, 5:46pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/16 "2020-08-20T17:46:02Z")

</div>

Hi @tommy! I’ve just decided to create an entirely new page with Zoom Web SDK.

I was having some conflicts with Zoom web SDK css and other imports when using directly in my page.  
Now, the issue is resolved and I’m using Zoom Web SDK normally.

Thanks!

---

<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:** [August 24, 2020, 5:44pm UTC](https://devforum.zoom.us/t/no-audio-or-interaction-in-webinar-with-web-sdk/19478/17 "2020-08-24T17:44:10Z")

</div>

Hey @gabrielsmelo.dev,

Great! Happy to hear the issues are resolved! 🙂

Thanks,  
Tommy
