I'm using VideoView in my app and I need an mp4 video to be looped. I'm already using this method to loop my video.
vid.setOnPreparedListener(new OnPreparedListener(){
@Override
public void onPrepared(MediaPlayer mp) {
mp.setLooping(true);
}
});
It works on Nexus 7 and on simulator with API level 16, but on the main device (the only difference is Android 4.0.3), where it's going to be used, video only plays once and doesn't loop. Any suggestions?