# Does float view work with custom UI?

**URL:** <https://devforum.zoom.us/t/does-float-view-work-with-custom-ui/44908>\
**Category:** macOS\
**Created:** [March 4, 2021, 8:59pm UTC](https://devforum.zoom.us/t/does-float-view-work-with-custom-ui/44908 "2021-03-04T20:59:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m.zhang/32/18203_2.png) [@m.zhang](https://devforum.zoom.us/u/m.zhang)\
**Post date:** [March 4, 2021, 8:59pm UTC](https://devforum.zoom.us/t/does-float-view-work-with-custom-ui/44908/1 "2021-03-04T20:59:34Z")

</div>

**Description**  
I would like to create a floating video view after meeting is in progress and when some other condition is met. When I call switchFloatVideoToActiveSpeakerMode(), the result is ZoomSDKError\_ServiceFailed. Is that because this does not work with custom UI? Is it possible to use this when I’m using a customized UI?

Thank you very much!

**Which Client macOS SDK version?**  
v5.4.54802.0124

**Additional context**  
Here’s the code inside case `ZoomSDKMeetingStatus_InMeeting` for MeetingStatusMgr.

```auto
   let meetingService = ZoomSDK.shared()?.getMeetingService()
   let UIController = meetingService?.getMeetingUIController()
   let ret = UIController?.switchFloatVideoToActiveSpeakerMode()

```

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 4, 2021, 10:22pm UTC](https://devforum.zoom.us/t/does-float-view-work-with-custom-ui/44908/2 "2021-03-04T22:22:47Z")

</div>

Hi @m.zhang, thanks for the post.

This method is meant for use with the default Zoom UI only. In a custom UI, you can define the UI however you would like, so the SDK cannot account for the potential variances in all possible meeting UI implementations.

Thanks!

---

<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 4, 2021, 8:22am UTC](https://devforum.zoom.us/t/does-float-view-work-with-custom-ui/44908/3 "2021-04-04T08:22:57Z")

</div>

Closed on April 4, 2021, 8:22am UTC

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