# Is there a way in the Javascript Video SDK to specify which window to share?

**URL:** <https://devforum.zoom.us/t/is-there-a-way-in-the-javascript-video-sdk-to-specify-which-window-to-share/71278>\
**Category:** Web\
**Created:** [June 27, 2022, 10:15pm UTC](https://devforum.zoom.us/t/is-there-a-way-in-the-javascript-video-sdk-to-specify-which-window-to-share/71278 "2022-06-27T22:15:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.kantor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.kantor/32/38795_2.png) [@michael.kantor](https://devforum.zoom.us/u/michael.kantor)\
**Post date:** [June 27, 2022, 10:15pm UTC](https://devforum.zoom.us/t/is-there-a-way-in-the-javascript-video-sdk-to-specify-which-window-to-share/71278/1 "2022-06-27T22:15:44Z")

</div>

**Description**  
Using the NPM @zoom1234/videosdk v1.3.0, it does a nice job of presenting me a list of windows to share. For purposes of my application, I want it to preselect the current window (i.e. the browser tab that is using the Video SDK), and not distract the user with other options. I’m not seeing an option to do this; can anyone verify that I’m not missing it somewhere?

I’m not seeing any errors, this is just a straight-up API question; Thanks!  
Michael

---

<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:** [June 28, 2022, 8:06am UTC](https://devforum.zoom.us/t/is-there-a-way-in-the-javascript-video-sdk-to-specify-which-window-to-share/71278/2 "2022-06-28T08:06:00Z")

</div>

Hey @michael.kantor

Thanks for your feedback.

Due to the technical limitation of the browser and privacy concerns, we cannot get the screens list via API.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![sjain6](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sjain6/32/33816_2.png) [@sjain6](https://devforum.zoom.us/u/sjain6)\
**Post date:** [June 30, 2022, 5:35am UTC](https://devforum.zoom.us/t/is-there-a-way-in-the-javascript-video-sdk-to-specify-which-window-to-share/71278/3 "2022-06-30T05:35:52Z")

</div>

Hi,

I am also having the same [Java issue](https://ycs.instructure.com/courses/25197/pages/career-in-java-how-to-make-a-successful-career-in-java-in-2022) , and found the best answer from here.

---

<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:** [July 30, 2022, 3:36pm UTC](https://devforum.zoom.us/t/is-there-a-way-in-the-javascript-video-sdk-to-specify-which-window-to-share/71278/4 "2022-07-30T15:36:17Z")

</div>

Closed on July 30, 2022, 3:36pm UTC

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