# How to hide controller and prevent click on player from showing it

**URL:** <https://community.bitmovin.com/t/how-to-hide-controller-and-prevent-click-on-player-from-showing-it/2679>\
**Category:** Support\
**Tags:** bitmovin-player, android, bitmovin\
**Created:** [March 1, 2024, 3:15pm UTC](https://community.bitmovin.com/t/how-to-hide-controller-and-prevent-click-on-player-from-showing-it/2679 "2024-03-01T15:15:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![obadia.yoni](https://avatars.discourse-cdn.com/v4/letter/o/45deac/32.png) [@obadia.yoni](https://community.bitmovin.com/u/obadia.yoni)\
**Post date:** [March 1, 2024, 3:15pm UTC](https://community.bitmovin.com/t/how-to-hide-controller-and-prevent-click-on-player-from-showing-it/2679/1 "2024-03-01T15:15:27Z")

</div>

Hello,

I have a quite simple use case I’d like to prevent clicks from showing the controller player. I know there is a way of doing it on Media3 with `media3View.useController = false` and then setting it back to true when needed but I can’t find such feature on bitmovin.

Any help appreciated 🙂

---

<div class="post-metadata">

**Author:** ![Lukas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/lukas/32/393_2.png) [@Lukas](https://community.bitmovin.com/u/Lukas)\
**Post date:** [March 4, 2024, 9:51am UTC](https://community.bitmovin.com/t/how-to-hide-controller-and-prevent-click-on-player-from-showing-it/2679/2 "2024-03-04T09:51:43Z")

</div>

Hello @obadia.yoni,

the corresponding Bitmovin Android Player SDK API is [PlayerView.setUiVisible](https://developer.android.com/reference/androidx/media3/ui/PlayerView#setUseController(boolean)).

Let me know if that answers your question or you need any additional help.

---

<div class="post-metadata">

**Author:** ![obadia.yoni](https://avatars.discourse-cdn.com/v4/letter/o/45deac/32.png) [@obadia.yoni](https://community.bitmovin.com/u/obadia.yoni)\
**Post date:** [March 4, 2024, 10:07am UTC](https://community.bitmovin.com/t/how-to-hide-controller-and-prevent-click-on-player-from-showing-it/2679/3 "2024-03-04T10:07:20Z")

</div>

I found this method the issue is that if users clicks on the player, the playerview is shown again. I’d like to prevent ui from showing even when user clicks on it

---

<div class="post-metadata">

**Author:** ![user10](https://avatars.discourse-cdn.com/v4/letter/u/d2c977/32.png) [@user10](https://community.bitmovin.com/u/user10)\
**Post date:** [March 4, 2024, 12:02pm UTC](https://community.bitmovin.com/t/how-to-hide-controller-and-prevent-click-on-player-from-showing-it/2679/4 "2024-03-04T12:02:50Z")

</div>

Got you. Do you enable and disable the UI during playback or do you just not want the UI at all?

---

<div class="post-metadata">

**Author:** ![obadia.yoni](https://avatars.discourse-cdn.com/v4/letter/o/45deac/32.png) [@obadia.yoni](https://community.bitmovin.com/u/obadia.yoni)\
**Post date:** [March 4, 2024, 12:13pm UTC](https://community.bitmovin.com/t/how-to-hide-controller-and-prevent-click-on-player-from-showing-it/2679/5 "2024-03-04T12:13:26Z")

</div>

Yes I’d like to enable and disable the UI during playing

---

<div class="post-metadata">

**Author:** ![Lukas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/lukas/32/393_2.png) [@Lukas](https://community.bitmovin.com/u/Lukas)\
**Post date:** [March 4, 2024, 1:25pm UTC](https://community.bitmovin.com/t/how-to-hide-controller-and-prevent-click-on-player-from-showing-it/2679/6 "2024-03-04T13:25:15Z")

</div>

I don’t think we support this scenario out of the box.

We do have [UiConfig.Disabled](https://cdn.bitmovin.com/player/android/3/docs/player-ui-web/com.bitmovin.player.api.ui/-ui-config/-disabled/index.html) that allows you to disable the ui completely but this can no longer be changed after the creation of the `PlayerView` instance.

The only way I currently see how this can be achieved is

- file a [feature request](https://community.bitmovin.com/t/feature-requests-frequently-asked-questions/1465)
- implement this by customizing the UI ([sample](https://github.com/bitmovin/bitmovin-player-android-samples/tree/main/CustomHtmlUiKotlin), [documentation](https://developer.bitmovin.com/playback/docs/bitmovin-player-ui#explore--customise-the-bitmovin-player-ui))
