# Zoom Webinar not displaying host video on Component Embed View

**URL:** <https://devforum.zoom.us/t/zoom-webinar-not-displaying-host-video-on-component-embed-view/115919>\
**Category:** Web\
**Created:** [August 19, 2024, 6:05pm UTC](https://devforum.zoom.us/t/zoom-webinar-not-displaying-host-video-on-component-embed-view/115919 "2024-08-19T18:05:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![otg\_events](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/otg_events/32/62577_2.png) [@otg\_events](https://devforum.zoom.us/u/otg_events)\
**Post date:** [August 19, 2024, 6:05pm UTC](https://devforum.zoom.us/t/zoom-webinar-not-displaying-host-video-on-component-embed-view/115919/1 "2024-08-19T18:05:40Z")

</div>

### Format Your New Topic as Follows:

**Meeting SDK Type and Version**  
3.8.5

**Description**  
When joining the webinar from my website that contains my zoom meeting embedded the host video is blank. I am able to join the meeting and listen to audio however the host camera is not visible once turned on. I can see their cover image when their camera is off but a blank screen is shown when the camera is turned on

**Error?**  
N/A - no errors

**Troubleshooting Routes**  
Tested joining a meeting instead of a webinar and video is available for both the attendie and the host. Only when I join a webinar is the host camera / video not visible.

**How To Reproduce**  
My html code for generating the zoom embed using nunjucks templating for the data.

```auto
{% extends 'layout.html' %}

{% block main %}
<h1>Webinar Details</h1>
<div id="meetingSDKElement"></div>
<button id="startMeeting">Join Meeting</button>

<script src="https://source.zoom.us/3.8.5/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.8.5/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.8.5/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/3.8.5/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/3.8.5/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/3.8.5/zoom-meeting-embedded-3.8.5.min.js"></script>
<script src="./coi-serviceworker.min.js"></script>

<script>

  document.addEventListener('DOMContentLoaded', function () {
    bindEvents();

    function bindEvents() {
      const client = ZoomMtgEmbedded.createClient();
      const meetingSDKElement = document.getElementById('meetingSDKElement');

      client.init({
        debug: true,
        zoomAppRoot: meetingSDKElement,
        language: 'en-US',
        webEndpoint: "zoom.us",
        customize: {
          video: {
            isResizable: true,
            viewSizes: {
              default: {
                width: 800,
                height: 600
              }
            }
          }
        }
      }).catch((error) => {
        console.error(error);
      });

      document.getElementById('startMeeting').addEventListener('click', function () {
        joinZoom(client, {
          username: '{{ data.name }}',
          userEmail: '{{ data.email }}',
          meetingId: '{{ data.webinarId }}',
          sdkKey: '{{data.zoomApiKey}}',
          secret: '{{data.zoomSecret}}',
          tk: '{{ data.joinToken }}',
        });
      });
    }

    function joinZoom(client, data) {
      const userName = data.username;
      const userEmail = data.userEmail;
      const meetingId = data.meetingId;
      const sdkKey = data.sdkKey;
      const apiSecret = data.secret;
      const token = data.tk;

      const jwtToken = generateToken(sdkKey, meetingId, 0, apiSecret);
      client.join({
        sdkKey: sdkKey,
        signature: jwtToken,
        userName: userName,
        userEmail: userEmail,
        meetingNumber: meetingId,
        tk: token,
        success: (success) => {
          console.log('Meeting joined');
        },
        error: (error) => {
          console.error(error);
        }
      }).catch((error) => {
        console.error(error);
      });
    }

    function generateToken(appKey, meetingNumber, role, apiSecret) {
      return ZoomMtg.generateSDKSignature({
        meetingNumber: meetingNumber,
        sdkKey: appKey,
        sdkSecret: apiSecret,
        role: role,
        success: function (res) {
          console.log('res', res.result);
        }
      });
    }
  });
</script>
{% endblock %}

```

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 20, 2024, 5:26pm UTC](https://devforum.zoom.us/t/zoom-webinar-not-displaying-host-video-on-component-embed-view/115919/2 "2024-08-20T17:26:55Z")

</div>

Hi @otg_events  
Thanks for reaching out to us and welcome to our Zoom Developer Forum.  
I will try and reproduce this on my end and will come back to you with an update

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 21, 2024, 2:55pm UTC](https://devforum.zoom.us/t/zoom-webinar-not-displaying-host-video-on-component-embed-view/115919/3 "2024-08-21T14:55:55Z")

</div>

Hi @otg_events  
I ran our sample app and was not able to replicate this on my end.  
Could you please try running the sample app and see if you get this error as well

---

<div class="post-metadata">

**Author:** ![otg\_events](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/otg_events/32/62577_2.png) [@otg\_events](https://devforum.zoom.us/u/otg_events)\
**Post date:** [August 26, 2024, 8:07pm UTC](https://devforum.zoom.us/t/zoom-webinar-not-displaying-host-video-on-component-embed-view/115919/4 "2024-08-26T20:07:07Z")

</div>

Hi Elisa,

Thanks for getting back to me.

The only workaround I found was to downgrade the zoom meeting version to 3.5.2 which allowed for the video to start working in the component view.

I ended up using the client view instead to have the latest version of Zoom/MeetingSDK

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 28, 2024, 4:29pm UTC](https://devforum.zoom.us/t/zoom-webinar-not-displaying-host-video-on-component-embed-view/115919/5 "2024-08-28T16:29:23Z")

</div>

Interesting @otg_events  
I was not able to replicate this with our sample app.  
Did you have a chance to run it and see if you could replicate the behavior you are seeing on your end?

---

<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:** [September 28, 2024, 2:29am UTC](https://devforum.zoom.us/t/zoom-webinar-not-displaying-host-video-on-component-embed-view/115919/6 "2024-09-28T02:29:46Z")

</div>

Closed on September 28, 2024, 2:29am UTC

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