# Cancel Spotlight video not working

**URL:** <https://devforum.zoom.us/t/cancel-spotlight-video-not-working/18290>\
**Category:** Electron\
**Created:** [May 19, 2020, 11:34am UTC](https://devforum.zoom.us/t/cancel-spotlight-video-not-working/18290 "2020-05-19T11:34:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam.decrock](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sam.decrock/32/8656_2.png) [@sam.decrock](https://devforum.zoom.us/u/sam.decrock)\
**Post date:** [May 19, 2020, 11:34am UTC](https://devforum.zoom.us/t/cancel-spotlight-video-not-working/18290/1 "2020-05-19T11:34:31Z")

</div>

**Description**  
Canceling the spotlight video with `MeetingVideo\_SpotlightVideo({bSpotlight: false}); does not work in Electron.

**Which version?**  
Current master, which is [https://github.com/zoom/zoom-sdk-electron/commit/11e721e1cebcdb4c40b7d895e31b32a533edd883](https://github.com/zoom/zoom-sdk-electron/commit/11e721e1cebcdb4c40b7d895e31b32a533edd883)

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:  
Call `MeetingVideo_SpotlightVideo({bSpotlight: false});`

Should I use something else?

Thanks,  
Sam

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 20, 2020, 5:41am UTC](https://devforum.zoom.us/t/cancel-spotlight-video-not-working/18290/2 "2020-05-20T05:41:49Z")

</div>

Hi Sam,

Thanks for the post. Let me forward this to the engineering team for further investigation and get back to you shortly.

Thanks!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 20, 2020, 8:06am UTC](https://devforum.zoom.us/t/cancel-spotlight-video-not-working/18290/3 "2020-05-20T08:06:12Z")

</div>

Hi Sam,

The interface MeetingVideo\_SpotlightVideo is expecting 2 parameters: spotlight and userid.

![0E66D5BE-9C3D-41D6-A5A4-F4D27FBEF39C](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/e3052d3346b3b0d2a71c4c90a9d8392402ac66ef.jpeg)

It will not work if any of the parameters are missing. Please have a try.

Thanks!

---

<div class="post-metadata">

**Author:** ![sam.decrock](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sam.decrock/32/8656_2.png) [@sam.decrock](https://devforum.zoom.us/u/sam.decrock)\
**Post date:** [May 20, 2020, 8:07am UTC](https://devforum.zoom.us/t/cancel-spotlight-video-not-working/18290/4 "2020-05-20T08:07:59Z")

</div>

Thanks. It does indeed work on the C# library with 2 parameters. I was pretty sure I also tried it with 2 parameters on Electron for MacOS, will try it again…

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 21, 2020, 7:39am UTC](https://devforum.zoom.us/t/cancel-spotlight-video-not-working/18290/5 "2020-05-21T07:39:33Z")

</div>

Hi [sam.decrock](https://devforum.zoom.us/u/sam.decrock),

Thanks for the reply. We have tried this interface on our end and have not encountered any issues. Please have a try and let me know if it is still not working.

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:27pm UTC](https://devforum.zoom.us/t/cancel-spotlight-video-not-working/18290/6 "2020-08-21T21:27:38Z")

</div>

Closed on August 21, 2020, 9:27pm UTC


