I am using VideoView trying to play video. But when I use this code I have following error:
Sorry, this video cannot be played
What is wrong here?
VideoView vv = (VideoView) findViewById(R.id.videoView);
String path = "/mnt/sdcard/Video/1345467237098.m4v"
vv.setVideoPath(path);
This format is not supported, please check this url https://developer.android.com/guide/topics/media/media-formats.html