S Sifu Active Member Aug 21, 2022 #1 Hi, using this https://www.b4x.com/android/forum/threads/exoplayer-controls-color.142235/post-901743 to eye-candy the player a bit, the Play button is not visible until you touch it twice, so play and then pause. (on real device) How to get it visible before it is touched? Thank you.
Hi, using this https://www.b4x.com/android/forum/threads/exoplayer-controls-color.142235/post-901743 to eye-candy the player a bit, the Play button is not visible until you touch it twice, so play and then pause. (on real device) How to get it visible before it is touched? Thank you.
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2022 #2 Set the Controller Timeout property to -1. Upvote 0
S Sifu Active Member Aug 21, 2022 #3 Thanks for you reply. I have this in the script: B4X: Dim jo As JavaObject = SimpleExoPlayerView1 'this stops controlbuttons from fading away on player jo.RunMethod("setControllerShowTimeoutMs", Array(0)) jo.RunMethod("setControllerHideOnTouch", Array(False)) as stated here https://www.b4x.com/android/forum/t...uttons-to-stay-in-exoplayer.92600/post-586774 and added SimpleExoPlayerView1.ControllerTimeout = -1 Seems not to do the trick, not together, and not one or the other. Strange that only the Play button is gone, the rest is there. Upvote 0
Thanks for you reply. I have this in the script: B4X: Dim jo As JavaObject = SimpleExoPlayerView1 'this stops controlbuttons from fading away on player jo.RunMethod("setControllerShowTimeoutMs", Array(0)) jo.RunMethod("setControllerHideOnTouch", Array(False)) as stated here https://www.b4x.com/android/forum/t...uttons-to-stay-in-exoplayer.92600/post-586774 and added SimpleExoPlayerView1.ControllerTimeout = -1 Seems not to do the trick, not together, and not one or the other. Strange that only the Play button is gone, the rest is there.