1
I’m trying a way to take or hide the buttons of a Videoplayer (forward, pause, back) on android, because the video is part of Splashscreen
public class Splash extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash);
String uriPath = "android.resource://"+getPackageName()+"/raw/intro";
Uri uri = Uri.parse(uriPath);
mVideoView.setVideoURI(uri);
mVideoView.setMediaController(new MediaController(this));
mVideoView.seekTo(1);
mVideoView.start();
}
I tried to use the functions mVideoView.canPause();
but I was unsuccessful