# Can't apply blur virtual background on preview

**URL:** <https://devforum.zoom.us/t/cant-apply-blur-virtual-background-on-preview/114354>\
**Category:** Video SDK\
**Created:** [July 25, 2024, 9:51am UTC](https://devforum.zoom.us/t/cant-apply-blur-virtual-background-on-preview/114354 "2024-07-25T09:51:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 25, 2024, 9:51am UTC](https://devforum.zoom.us/t/cant-apply-blur-virtual-background-on-preview/114354/1 "2024-07-25T09:51:24Z")

</div>

**Video SDK Type and Version**

###1###

I cloned Zoom example code from [[GitHub - zoom/videosdk-web-sample: Zoom Video SDK web sample](https://github.com/zoom/videosdk-web-sample)] and deployed to this URL [[VideoSDK Demo](https://zoom-example-250724.web.app/preview)]. When I turn on the camera and select `Mask My Background` to apply a blurred virtual background to the preview video, the camera view goes black, and the error shown in the image below appears (However, when I run it locally with `yarn start`, it works fine)

 ![Screenshot 2024-07-25 at 15.30.37](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/8/68d63f8952483e9888d000a9034a16d2e8ed763a.png)

Devices:

1. Mac mini M1 version 14.5 - Chrome version 126.0.6478.183
2. Windows 10 pro verison 22H2 - Chrome version 127.0.6533.72

###2###

On some devices, we can’t set the background in both the local development environment and the production environment.

Devices:

- Macbook Pro 13-inch-2017, Chrome 126.0.6478.185

Can you help troubleshoot this issue? I’m using the virtual background feature, but it doesn’t work on some devices. So I refer to the Zoom example, it also doesn’t work. I would greatly appreciate your support as soon as possible.

---

<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:** [July 26, 2024, 4:09am UTC](https://devforum.zoom.us/t/cant-apply-blur-virtual-background-on-preview/114354/2 "2024-07-26T04:09:04Z")

</div>

Hey @lmtruong1512

> When I turn on the camera and select `Mask My Background` to apply a blurred virtual background to the preview video, the camera view goes black

It’s our sample demo issue.

> On some devices, we can’t set the background in both the local development environment and the production environment.

We provide an API to check whether the browser supports virtual backgrounds: `stream.isSupportVirtualBackground()`.  
Internally, we checked the browser version, operating system, SharedArrayBuffer availability, and the number of CPU cores.

> Macbook Pro 13-inch-2017, Chrome 126.0.6478.185

As for the device, its performance may not meet the requirement.

> **[Stream | Zoom Video SDK for Web - 1.11.10](https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#isSupportVirtualBackground)**
>
> Documentation for Zoom Video SDK for Web - 1.11.10

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![bizlawpk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bizlawpk/32/62040_2.png) [@bizlawpk](https://devforum.zoom.us/u/bizlawpk)\
**Post date:** [August 2, 2024, 12:03am UTC](https://devforum.zoom.us/t/cant-apply-blur-virtual-background-on-preview/114354/3 "2024-08-02T00:03:15Z")

</div>

If you can’t apply a blurred virtual background, make sure your Zoom app is updated to the latest version and that your device meets the system requirements for virtual backgrounds. Also, check if the “blur” option is selected under the virtual background settings.
