A few seconds after the ExoPlayer starts playing, the controls stop showing and a black background appears. How do I make sure that the controls are always visible?
Add ImageView and Exoplayer in Framelayout. Show Image (That is knows as thumbnails) in imageView and on tap of ImageView Hide it and show ExoPlayer and play it.
Set show_timeout
attribute to 0
You can do it programmatically using these,
PlayerView.setControllerShowTimeoutMs(0);
PlayerView.setControllerHideOnTouch(false);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With