Open ajaystha005 opened 7 years ago
try mPlayer.setHideControlsOnPlay(false);
By default, video player hides controls after play. This method changes that behavior. It is also available by xml.
I tried that. that doesn't work. the Controls still are hidden. Need to touch to show :(
private void setUpPlayer() { mPlayer = mBinding.player; mPlayer.setCallback(this); mPlayer.setHideControlsOnPlay(false); mPlayer.setAutoPlay(true); } @Override public void playVideo(Uri url) { mPlayer.setSource(url); }
I am trying to show controls on start of the video. But it automatically hides. Is there is any fix around? mPlayer.showControls();
-###### Include the following:
1.1.0
7.0
Huawei
Nexus 6P