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:
parent
fc0a6727c3
commit
5db0b93f7f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue