# Zoom Video SDK Virtual background using videosdk-ui-toolkit.js

**URL:** <https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821>\
**Category:** UI ToolKit\
**Tags:** video-sdk\
**Created:** [May 28, 2024, 9:22am UTC](https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821 "2024-05-28T09:22:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eng.alshiekhosman](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eng.alshiekhosman/32/50588_2.png) [@eng.alshiekhosman](https://devforum.zoom.us/u/eng.alshiekhosman)\
**Post date:** [May 28, 2024, 9:22am UTC](https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821/1 "2024-05-28T09:22:46Z")

</div>

how to set virtual background in video SDK by videosdk-ui-toolkit.js

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [May 28, 2024, 9:47am UTC](https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821/2 "2024-05-28T09:47:52Z")

</div>

Hey @eng.alshiekhosman

Thanks for your feedback.

You can refer to this article to set up and use the virtual background.

> **[Video SDK - web - Video](https://developers.zoom.us/docs/video-sdk/web/video/#use-virtual-background)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![eng.alshiekhosman](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eng.alshiekhosman/32/50588_2.png) [@eng.alshiekhosman](https://devforum.zoom.us/u/eng.alshiekhosman)\
**Post date:** [May 28, 2024, 11:22am UTC](https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821/3 "2024-05-28T11:22:47Z")

</div>

iam facing below error  
videosdk-ui-toolkit.js:3 UIKit: SharedArrayBuffer disabled. 720p, Gallery View, and Virtual Background not available.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 30, 2024, 1:38am UTC](https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821/4 "2024-05-30T01:38:35Z")

</div>

Hey @eng.alshiekhosman ,

If you enable [SharedArrayBuffer](https://developers.zoom.us/docs/video-sdk/web/sharedarraybuffer/) you will see virtual background.

We will have more advanced virtual background functionality in the next UI Toolkit release. Stay tuned!

Best,  
Tommy

---

<div class="post-metadata">

**Author:** ![eng.alshiekhosman](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eng.alshiekhosman/32/50588_2.png) [@eng.alshiekhosman](https://devforum.zoom.us/u/eng.alshiekhosman)\
**Post date:** [May 30, 2024, 4:50am UTC](https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821/5 "2024-05-30T04:50:22Z")

</div>

> [@tommy](#):
>
> If you enable [SharedArrayBuffer](https://developers.zoom.us/docs/video-sdk/web/sharedarraybuffer/) you will see virtual background.

Dear

thanks for support but how can enable **SharedArrayBuffer** in videosdk-ui-toolkit.js

flow below link as per support but not enabled  
[gzuidhof/coi-serviceworker: Cross-origin isolation (COOP and COEP) through a service worker for situations in which you can’t control the headers (e.g. GH pages) (github.com)](https://github.com/gzuidhof/coi-serviceworker/tree/master)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 30, 2024, 2:57pm UTC](https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821/6 "2024-05-30T14:57:50Z")

</div>

Hey @eng.alshiekhosman ,

Here is a reference for you if it helps, take a look at the service worker file:

[https://videosdk.dev/uitoolkit-canvas-gallery/](https://videosdk.dev/uitoolkit-canvas-gallery/)

Best,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [February 10, 2025, 7:13pm UTC](https://devforum.zoom.us/t/zoom-video-sdk-virtual-background-using-videosdk-ui-toolkit-js/110821/7 "2025-02-10T19:13:02Z")

</div>

Hey everyone,

Here are updates and more info about setting virtual background:

> **[Video SDK - web - UI Toolkit - Zoom Developers](https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/#properties)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Best,  
Tommy
