After successfully joining a meeting with the latest web SDK (1.8.5), a user tries to enable video for their call. Instead of starting the video, the zoom sdk throws an error and does not start the video. For this particular example, the user is the only person in the meeting after starting the call and nobody else has joined. The user simply has to click the ‘start video’ button and the error occurs and video does not start. This happens about 50-60% of the time (not every time).
TypeError: Cannot read property 'width' of undefined at zoom-meeting-1.8.5.min.js:2 at redux-thunk.min.js:1 at redux.min.js:1 at zoom-meeting-1.8.5.min.js:2 at Qb (react-dom.min.js:118) at si (react-dom.min.js:131) at Q (react.min.js:11) at ta (react.min.js:12) at MessagePort.e.port1.onmessage (react.min.js:24)
To Reproduce(If applicable)
Steps to reproduce the behavior:
- After meeting has started, click the ‘Start Video’ button from the web sdk UI.
- See error
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
- Device: MacBook Pro
- OS: MacOS
- Version: 11.1
- Browser: Chrome 87.0.4280.88
This has been working in previous versions of the Web SDK. We encountered this after trying to upgrade the code to 1.8.5. The Zoom SDK is being hosted in an iFrame using the CDN version.