# How to hide controls on PREPARED and show on Hover/Tap?

**URL:** <https://community.bitmovin.com/t/how-to-hide-controls-on-prepared-and-show-on-hover-tap/1987>\
**Category:** Support\
**Created:** [May 19, 2023, 5:06pm UTC](https://community.bitmovin.com/t/how-to-hide-controls-on-prepared-and-show-on-hover-tap/1987 "2023-05-19T17:06:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter.vanvogelpoel](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@peter.vanvogelpoel](https://community.bitmovin.com/u/peter.vanvogelpoel)\
**Post date:** [May 19, 2023, 5:06pm UTC](https://community.bitmovin.com/t/how-to-hide-controls-on-prepared-and-show-on-hover-tap/1987/1 "2023-05-19T17:06:57Z")

</div>

Hi,

How to hide controls on PREPARED (.bmpui-player-state-prepared) and show on Hover/Tap?

I tried in the conf:  
playback: {  
hideControls: true  
},  
But this has no effect.

Best,  
Pete

---

<div class="post-metadata">

**Author:** ![daniel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/daniel/32/121_2.png) [@daniel](https://community.bitmovin.com/u/daniel)\
**Post date:** [May 23, 2023, 2:36pm UTC](https://community.bitmovin.com/t/how-to-hide-controls-on-prepared-and-show-on-hover-tap/1987/2 "2023-05-23T14:36:47Z")

</div>

Hi Pete,

Looking at the [playbackConfig documentation](https://cdn.bitmovin.com/player/web/8/docs/interfaces/core_config.playbackconfig.html), there is no `hideControls` property, hence I wouldn’t expect it to work 🙂

This can be configured where the UI components are put together. The relevant property is the `hidePlayerStateExceptions` array. In the default UI, the player state `Prepared` is included; if you remove that you should get your desired behavior.

> <https://github.com/bitmovin/bitmovin-player-ui/blob/88b4336a3c0369bf362e5126180ceee2292e9bf6/src/ts/uifactory.ts#L161-L165>

See also this section for UI customization options in case you’re not familiar with it yet:

> **[GitHub - bitmovin/bitmovin-player-ui: The Bitmovin Adaptive Streaming Player UI - Customizing the UI](https://github.com/bitmovin/bitmovin-player-ui/tree/develop#customizing-the-ui)**
>
> develop

---

<div class="post-metadata">

**Author:** ![peter.vanvogelpoel](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@peter.vanvogelpoel](https://community.bitmovin.com/u/peter.vanvogelpoel)\
**Post date:** [May 24, 2023, 6:45am UTC](https://community.bitmovin.com/t/how-to-hide-controls-on-prepared-and-show-on-hover-tap/1987/4 "2023-05-24T06:45:04Z")

</div>

Hi Daniel,

I found the hideControl option somewhere in the documentation, but don’t find it anymore now. 🤔

But your instructions do help me. Many thanks.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/daniel/32/121_2.png) [@daniel](https://community.bitmovin.com/u/daniel)\
**Post date:** [May 24, 2023, 8:15am UTC](https://community.bitmovin.com/t/how-to-hide-controls-on-prepared-and-show-on-hover-tap/1987/5 "2023-05-24T08:15:06Z")

</div>

Ah, could be that this property was present in older web player major versions (v6 or even older).  
Glad my feedback helped, thanks for letting me know.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/1ab86334145095b0af9c5b924fa3ae6d920b6482.png) [@system](https://community.bitmovin.com/u/system)\
**Post date:** [May 26, 2023, 8:01am UTC](https://community.bitmovin.com/t/how-to-hide-controls-on-prepared-and-show-on-hover-tap/1987/6 "2023-05-26T08:01:28Z")

</div>

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