# Web-app the applied virtual background is not displayed in video tag(Self video)

**URL:** <https://devforum.zoom.us/t/web-app-the-applied-virtual-background-is-not-displayed-in-video-tag-self-video/105651>\
**Category:** Web\
**Created:** [March 13, 2024, 11:37am UTC](https://devforum.zoom.us/t/web-app-the-applied-virtual-background-is-not-displayed-in-video-tag-self-video/105651 "2024-03-13T11:37:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nithinvn00](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nithinvn00](https://devforum.zoom.us/u/nithinvn00)\
**Post date:** [March 13, 2024, 11:37am UTC](https://devforum.zoom.us/t/web-app-the-applied-virtual-background-is-not-displayed-in-video-tag-self-video/105651/1 "2024-03-13T11:37:51Z")

</div>

@tommy The applied virtual background is not displayed in video tag(Self video) but applied virtual background is visible to other users in the session(canvas tag is used to render other users) is there is any way to render self video with virtual background applied ??

---

<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:** [March 13, 2024, 3:39pm UTC](https://devforum.zoom.us/t/web-app-the-applied-virtual-background-is-not-displayed-in-video-tag-self-video/105651/2 "2024-03-13T15:39:28Z")

</div>

Hey @nithinvn00 , yes.

Which browser are you seeing this in, I am guessing Safari? Safari virtual background support is coming soon.

Make sure you also have [SharedArrayBuffer](https://developers.zoom.us/docs/video-sdk/web/sharedarraybuffer/) or [`enforceVirtualBackground: true` enabled.](https://developers.zoom.us/docs/video-sdk/web/video/#use-virtual-background)

Best,  
Tommy

---

<div class="post-metadata">

**Author:** ![nithinvn00](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nithinvn00](https://devforum.zoom.us/u/nithinvn00)\
**Post date:** [March 14, 2024, 4:05am UTC](https://devforum.zoom.us/t/web-app-the-applied-virtual-background-is-not-displayed-in-video-tag-self-video/105651/3 "2024-03-14T04:05:06Z")

</div>

@tommy No, I have tried in chrome browser with enforceVirtualBackground true for canvas tag the applied virtual background is visible to other users in the session. The issue is only with the self video, the video tag is used here

---

<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:** [March 18, 2024, 4:18am UTC](https://devforum.zoom.us/t/web-app-the-applied-virtual-background-is-not-displayed-in-video-tag-self-video/105651/4 "2024-03-18T04:18:15Z")

</div>

Hey @nithinvn00 ,

Gotcha, can you please share your startVideo code? I can provide the solution based on that.

Best,  
Tommy

---

<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:** [March 20, 2024, 8:17am UTC](https://devforum.zoom.us/t/web-app-the-applied-virtual-background-is-not-displayed-in-video-tag-self-video/105651/5 "2024-03-20T08:17:30Z")

</div>

Hey @nithinvn00

It seems like you’re using Chrome without enabling SharedArrayBuffer. The `enforceVirtualBackground` option only applies when SharedArrayBuffer is disabled; otherwise, the virtual background feature is fully supported.

When the `stream.isRenderSelfViewWithVideoElement()` method returns `false`, you’ll need to render the self-view with a canvas. Currently, using the video tag doesn’t display video with virtual background correctly. We’re actively working to improve this.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 19, 2024, 6:17pm UTC](https://devforum.zoom.us/t/web-app-the-applied-virtual-background-is-not-displayed-in-video-tag-self-video/105651/6 "2024-04-19T18:17:55Z")

</div>

Closed on April 19, 2024, 6:17pm UTC

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