Hey! how are you?
Is it possible to hide/disable/unmount the web sdk script if “x” condition?. When I integrate ZoomMtg.preLoadWasm - ZoomMtg.prepareJssdk functions anywhere in my code it puts the div id=“zmmtg-root” in the body as soon as my App starts (doesn’t matter if the code is in some random component that isn’t mounted), but when it comes to mobile browsers i want to unmount it because it breaks my whole CSS.
Web SDK brokes my CSS. I understand that is what it is so i want to hide it when it comes to mobile users.
Which Web Client SDK version?
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Install @zoomus/websdk
- Add ZoomMtg.preLoadWasm() or ZoomMtg.prepareJssdk() in an unreachable code or try to disable it
- the sdk will appear
For example. I put the preLoader in an unreachable code and it triggers anyways.
If a comment this code the App works as if not there, but i can’t understand why i can’t shut it down if i want to. Is it possible?
Device (please complete the following information):
- Browser: Chrome Versión 91.0.4472.77 (Build oficial) (x86_64)
I am trying to use it with React.js.