Video playback now loops for both video previously downloaded (and stored in cache), and video downloaded for the first time.

This commit is contained in:
PhotonQyv 2017-08-27 21:46:14 +01:00
parent fc0a6727c3
commit 5db0b93f7f
1 changed files with 2 additions and 0 deletions

View File

@ -362,6 +362,8 @@ public class MediaActivity extends AppCompatActivity {
@Override
public void onPrepared(MediaPlayer mp) {
loader.setVisibility(View.GONE);
mp.start();
mp.setLooping(true);
}
});
videoView.setVisibility(View.VISIBLE);