I have implemented the Player and now there is a problem. When the video is playing and if the app is closed and resumed, the video screen freezes. I even saw the ExoPlayer
I know this is an old thread but, here is my fix
protected void onPause() { player.setPlayWhenReady(false); super.onPause(); } protected void onResume() { player.setPlayWhenReady(true); super.onResume(); }
this will pause the video on activity pause and resume on activity resume.