Bug Report Draft
SDK Version: [5.2.0] Platform: Web (React)
Description: I have integrated the Zoom Meeting SDK into a React application. The meeting container is nested inside a parent div that has custom padding/margin.
The Issue: The SDK is not respecting the boundaries of the parent container when rendering video streams. When a user plays/views a video, the SDK calculates the video canvas position starting from the edge of the full screen (viewport) rather than the edge of the parent container. This causes the video to be misaligned or “shifted” by the amount of padding/margin applied to the outer layout.
Steps to Reproduce:
-
Create a parent
divwithpadding: 50pxor a sidebar that pushes the content. -
Initialize the Zoom SDK inside a child
div(themeetingSDKElement). -
Start a meeting and turn on the camera.
-
Observe that the video canvas is offset and does not stay centered within the designated child
div.
Expected Behavior: The video canvas should calculate its coordinates relative to the meetingSDKElement or its immediate parent container.