Description
Using a leaveUrl value of "about:blank" worked in v2.18.2.
Since v3.1.0 it fails with an exception.
Error
Uncaught DOMException: Failed to set the 'href' property on 'Location': 'https://about:blank' is not a valid URL.
at https://source.zoom.us/zoom-meeting-3.1.2.min.js:2:307760
at i (https://us02st1.zoom.us/web_client_whiteboard/lq6z1k7k/dist/js/whiteboard-sdk.js:44:1017162)
Thank you for posting in the Zoom Developer Forum, @chris-praxhub! To start, could you share the expected behavior of that blank? What does that value do or used to do that it no longer does? If you can give us more information about your case, it will help us better understand what may have happened or may be happening.
Prior to v3.1.0 of the Zoom Meeting SDK for Web, it was possible to set leaveUrl to about:blank so that the Zoom SDK redirected to a blank page upon leaving a meeting. This was broken by a bug introduced in v3.1.0, as per my original post.
My integration with the Zoom Meeting SDK is within an iframe inside a React SPA (Single Page Application). The outer SPA listens for an event of the iframe loading a blank page up meeting leave and takes appropriate navigation action in the outer SPA. The simplest blank page to use for this purpose would be about:blank. As a workaround to this issue, I’m currently having to publish an actual blank.html page.
The https:// prefix is then being added incorrectly by the Zoom SDK code. This is the bug. It didn’t used to behave this way. The bug was introduced in v3.1.0.
The issue is the same across different browsers. It seems to be a bug introduced in the Zoom SDK code.
If you tested using the React sample you would quickly and easily see the problem.