Description
We’ve embedded a Webinar into an iframe and when I join it, the host’s video stream and shared screen are just a black screen.
Error
Embedded WebSDK webinar doesn’t show video or screen stream.
It used to work before (<1.8.0) but we had to upgrade to 1.8.0 because of an “Unexpected end of JSON” error in the React stuff when we built the script for production.
There are on errors in the console and the console even correctly logs “startRenderVideo” and “stopRenderVideo” as seen in the following screenshot:
I don’t know whether this is relevant, but we use the following code to load the wasm/sdk:
ZoomMtg.setZoomJSLib(‘https://source.zoom.us/1.8.0/lib’, ‘/av’);
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
Which version?
Web SDK v1.8.0
To Reproduce(If applicable)
Steps to reproduce the behavior:
I get the same issue on a page that only has the Zoom scripts.
Besides, the reason we use an iFrame is because the Zoom WebSDK blackens the entire screen the moment it’s imported. If it was a little less intrusive (say, only appending DOM elements on some form of init call) we wouldn’t be using iframes at all.