# Electron : Open video with control in custom window

**URL:** <https://devforum.zoom.us/t/electron-open-video-with-control-in-custom-window/1483>\
**Category:** macOS\
**Created:** [July 26, 2018, 3:13pm UTC](https://devforum.zoom.us/t/electron-open-video-with-control-in-custom-window/1483 "2018-07-26T15:13:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijaya\_singareddy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vijaya_singareddy/32/33521_2.png) [@vijaya\_singareddy](https://devforum.zoom.us/u/vijaya_singareddy)\
**Post date:** [July 26, 2018, 3:13pm UTC](https://devforum.zoom.us/t/electron-open-video-with-control-in-custom-window/1483/1 "2018-07-26T15:13:59Z")

</div>

I am able to run demo project in [https://github.com/zoom/zoom-macsdk-electron](https://github.com/zoom/zoom-macsdk-electron%22%20%5Ct%20%22_blank) . When I click on start or join video, it opens separate window for video. Is there a way we can embed the video window with controls in our custom window. If you have any examples of the same, could you please share the details.

---

<div class="post-metadata">

**Author:** ![Derain\_Yuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/derain_yuan/32/558_2.png) [@Derain\_Yuan](https://devforum.zoom.us/u/Derain_Yuan)\
**Post date:** [August 22, 2018, 6:49am UTC](https://devforum.zoom.us/t/electron-open-video-with-control-in-custom-window/1483/2 "2018-08-22T06:49:17Z")

</div>

I am sorry, we don’t support this yet.

---

<div class="post-metadata">

**Author:** ![Derain\_Yuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/derain_yuan/32/558_2.png) [@Derain\_Yuan](https://devforum.zoom.us/u/Derain_Yuan)\
**Post date:** [August 23, 2018, 2:17am UTC](https://devforum.zoom.us/t/electron-open-video-with-control-in-custom-window/1483/3 "2018-08-23T02:17:42Z")

</div>

hi vijaya,

&nbsp; &nbsp; we haven’t provide the JS interface to electron sdk, we have oc interface in ZoomMeetingUIController.h&nbsp;&nbsp;

- (ZoomSDKError)showMeetingComponent:(MeetingComponent)component window:(NSWindow\*\*)window show:(BOOL)show InPanel:(BOOL)inPanel frame:(NSRect)componentFrame;

U can get main video by this:

NSWindow\* yourwindow = [[NSWindow alloc] init];

- (ZoomSDKError)showMeetingComponent:(MeetingComponent)component window:&yourwindow&nbsp;show:(BOOL)show InPanel:(BOOL)inPanel frame:(NSRect)componentFrame;

if this function return success, yourwindow has been assigned the main window pointer， then u can attach it in your custom app.

&nbsp;

&nbsp;

---

<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, 5:51pm UTC](https://devforum.zoom.us/t/electron-open-video-with-control-in-custom-window/1483/4 "2020-08-21T17:51:15Z")

</div>

Closed on August 21, 2020, 5:51pm UTC


