Firefox (133): In your environment, the maximum number of video-player that can be accommodated in each video-player-container is 1. The current number has exceeded this limit, which may cause video rendering issues

After updating Firefox to version 133.0, we started encountering an error in Firefox (133): In your environment, the maximum number of video-player that can be accommodated in each video-player-container is 1. The current number has exceeded this limit, which may cause video rendering issues.

Interestingly, our DOM structure always uses only one video-player in each video-player-container.


Screenshot 2024-12-04 at 21.05.44

Enabling SAB is not a suitable solution for our application. We need to use the Zoom Video SDK without SAB enabled


SharedArrayBuffer is disabled
Zoom Video SDK 1.12.12
React 17.0.2

    const zmClient = ZoomVideo.createClient();
    await zmClient.init("en-US", `${window.location.origin}/lib`, {
        webEndpoint: window?.webEndpoint ?? "zoom.us",
        stayAwake: true,
        patchJsMedia: true,
        leaveOnPageUnload: true,
        enforceVirtualBackground: true,
        enforceMultipleVideos: {disableRenderLimits: true}, // https://devforum.zoom.us/t/subscribe-video-counts-greater-than-maximum-size-4/113916/10
    })
zmClient.getAllUser().forEach(async (user) => {
    if (user.bVideoOn) {
        const quality = mainUserId === user.userId ? Video_720P : Video_360P;
        console.log('quality', user.userId, mainUserId, quality);
        await zoomSession.detachVideo(user.userId);
        const userVideo = await zoomSession.attachVideo(user.userId, quality);
        const targetElement = document.getElementById(`${PARTICIPANT_VIDEO_ID}_${user.userId}`)?.querySelector("video-player-container");
        while (targetElement?.firstChild) {
            targetElement?.firstChild?.remove();
        }
        targetElement?.appendChild(userVideo);
    }

    if (user.sharerOn) {
        const targetElement = document.getElementById(`${SHARE_CANVAS_ID}_${user.userId}`);
        if (targetElement) await zoomSession.startShareView(targetElement, user.userId);
    }
});

Guys, I need your help to solve the issue
@vic.yang , @tommy

Hey @sergey77

Thanks for your feedback.

This is a limitation of our implementation. On Firefox, if SharedArrayBuffer is not enabled, only one video-player can be added to a video-player-container.

We are working on improving the rendering experience.

Thanks
Vic

1 Like

Hi @vic.yang,

Thanks for your response.

I’m still unsure why we recently started encountering this error and the video rendering issues in Firefox. We didn’t have this issue before, and the only change was updating Firefox to version 133.

Additionally, please take a look at the screenshot I attached to the issue description. It shows that we always use only one video-player in each video-player-container.


Could you please suggest a temporary solution that we could use until this issue is resolved at the Zoom Video SDK level? We are currently receiving numerous complaints from our users about this issue.

Thank you for your support; it’s incredibly important to us!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Hey @sergey77

We have released Video SDK Web 2.1.10, which includes optimizations for video rendering on Firefox.

Could you upgrade to the latest version and try again?

Thanks
Vic

1 Like