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

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 :slight_smile:

Hello @obadia.yoni,

the corresponding Bitmovin Android Player SDK API is PlayerView.setUiVisible.

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

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

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

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

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

We do have UiConfig.Disabled 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