# Using videosdk-ui-toolkit-web creates two stages after join after video preview step

**URL:** <https://devforum.zoom.us/t/using-videosdk-ui-toolkit-web-creates-two-stages-after-join-after-video-preview-step/119213>\
**Category:** Video SDK\
**Created:** [October 15, 2024, 8:30pm UTC](https://devforum.zoom.us/t/using-videosdk-ui-toolkit-web-creates-two-stages-after-join-after-video-preview-step/119213 "2024-10-15T20:30:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ryng/32/64128_2.png) [@ryng](https://devforum.zoom.us/u/ryng)\
**Post date:** [October 15, 2024, 8:30pm UTC](https://devforum.zoom.us/t/using-videosdk-ui-toolkit-web-creates-two-stages-after-join-after-video-preview-step/119213/1 "2024-10-15T20:30:40Z")

</div>

using the videosdk-ui-toolkit-web unaltered, after the video preview i join, all console logs tell me i am joining once… but the page renders with two sets of the thumbnail video and the main stage… one set is underneath:

\<uitoolkit-provider … (seems complete and fine) … \</uitoolkit-provider

and then after that tag i am also getting redundantly:

\<video-component \_nghost-ng-c3390392640=“” ng-version=“18.1.4” … (seems like flaw to render this) it has your video “self-view” and main stage “user-view” repeated

In the index.js if i comment out showVideoComponent if statement

```
        //videoLayoutComponent = document.createElement('video-component')
       // container.append(videoLayoutComponent);

```

it works???

---

<div class="post-metadata">

**Author:** ![ryng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ryng/32/64128_2.png) [@ryng](https://devforum.zoom.us/u/ryng)\
**Post date:** [October 15, 2024, 9:19pm UTC](https://devforum.zoom.us/t/using-videosdk-ui-toolkit-web-creates-two-stages-after-join-after-video-preview-step/119213/2 "2024-10-15T21:19:17Z")

</div>

solved… self inflicted by chatgpt assisted code calling uitoolkit.showVideoComponent(document.getElementById(‘sessionContainer’));

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [October 17, 2024, 2:32pm UTC](https://devforum.zoom.us/t/using-videosdk-ui-toolkit-web-creates-two-stages-after-join-after-video-preview-step/119213/3 "2024-10-17T14:32:46Z")

</div>

Closed on October 17, 2024, 2:32pm UTC


