# Zmmtg-root intervenes on before calling zoom overlay

**URL:** <https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003>\
**Category:** Feature Requests\
**Created:** [December 10, 2019, 10:12am UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003 "2019-12-10T10:12:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![radhesh.tantri](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@radhesh.tantri](https://devforum.zoom.us/u/radhesh.tantri)\
**Post date:** [December 10, 2019, 10:12am UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003/1 "2019-12-10T10:12:30Z")

</div>

i have integrated your zoom sdk to my angular app and i wanted to call zoom overlay when i click meeting button in my website but it appears when website load for the first time and sits on top of my website…

How do i call or invoke only when i want

---

<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:** [December 10, 2019, 9:58pm UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003/2 "2019-12-10T21:58:56Z")

</div>

Hey @radhesh.tantri, thanks for posting and using Zoom!

Since the Web SDK overlays the whole page, I suggest using [CSS to hide / show](https://www.sitepoint.com/five-ways-to-hide-elements-in-css/) respectively when you want to.

Checkout this thread:

> [@Zoom Meeting Custom Ui](https://devforum.zoom.us/t/zoom-meeting-custom-ui/5281/18):
>
> @edward & @sdenardi - yes, this is currently correct. #zmmtg-root appends into the body on import, and needs to be hidden on load. Hiding it in this way should not influence .init() or .join() from overlaying the page when the meeting starts. Considerations for future readers: If you’re loading another root element (like in React), you’ll need to manage/manipulate the DOM outside of the app. And make sure to include required css files in index.html, not within the app. We’re working on improvi…

We are working on a more customizable one for next year that allows you to invoke on demand.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![radhesh.tantri](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@radhesh.tantri](https://devforum.zoom.us/u/radhesh.tantri)\
**Post date:** [December 12, 2019, 8:59am UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003/3 "2019-12-12T08:59:06Z")

</div>

hi,  
Is there any API for API key and API Secrete key. please let me know…

---

<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:** [December 12, 2019, 5:29pm UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003/4 "2019-12-12T17:29:14Z")

</div>

Hey @radhesh.tantri,

You can get API key and secret for a Zoom OAuth, SDK, JWT, or Chatbot app here: [https://marketplace.zoom.us/develop/create](https://marketplace.zoom.us/develop/create)

And here are our docs:  
[https://marketplace.zoom.us/docs/guides](https://marketplace.zoom.us/docs/guides)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![yanrs17](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yanrs17/32/10830_2.png) [@yanrs17](https://devforum.zoom.us/u/yanrs17)\
**Post date:** [June 21, 2020, 6:19pm UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003/5 "2020-06-21T18:19:54Z")

</div>

It is strange behavior that has confused me for a while…

With React, I finally figured out how to solve it today…  
in index.html, Add the following in body tag to suppress zoom SDK:

```
<style>
    #zmmtg-root {
      display: none;
    }
</style>

```

And only add the following in componentDidMount() in the component you want to integrate zoom:

```
document.getElementById('zmmtg-root').style.display = 'block';

```

Then it should work as expected.

It works for me. But I cannot promise it would work in every case. But I hope it could help anyone.

---

<div class="post-metadata">

**Author:** ![use142007](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/use142007/32/16470_2.png) [@use142007](https://devforum.zoom.us/u/use142007)\
**Post date:** [October 5, 2020, 12:49pm UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003/6 "2020-10-05T12:49:11Z")

</div>

sad to know that I can’t manipulate the div zmmtg-root div

=\_=  
I want it to be move inside my route in angular sad really

---

<div class="post-metadata">

**Author:** ![jouinianas07](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@jouinianas07](https://devforum.zoom.us/u/jouinianas07)\
**Post date:** [July 11, 2021, 10:50pm UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003/7 "2021-07-11T22:50:14Z")

</div>

I did the same in an angular project , so yes it is helpful thank you

---

<div class="post-metadata">

**Author:** ![gary.vaughan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gary.vaughan/32/34211_2.png) [@gary.vaughan](https://devforum.zoom.us/u/gary.vaughan)\
**Post date:** [February 25, 2022, 9:11pm UTC](https://devforum.zoom.us/t/zmmtg-root-intervenes-on-before-calling-zoom-overlay/7003/8 "2022-02-25T21:11:15Z")

</div>

If you like to keep the index.html document vanilla, you can put in app.css like so:

#zmmtg-root {  
display: none;  
}
