I'm trying to play mp4 video from raw folder. It is working fine in native video player but when I tried to play it using vitamio then it did not work for me. Are there any way to run mp4 video from raw folder in android using vitamio library??
I used this code to run video from raw folder.
VideoView view = (VideoView)findViewById(R.id.videoView);
String path = "android.resource://" + getPackageName() + "/" + R.raw.video_file;
view.setVideoURI(Uri.parse(path));
view.start();