I try to play a mp4 video from url sending the video intent - intent.setDataAndType(pathuri, "video/*");
but I get the dialog Can't play the video due to android network error.I have the internet permission in manifest file and the url of the video is good.Also I cant play the video in my app using videoview for video urls. Please help.
Intent in=new Intent();
Uri vidUri = Uri.parse(feedob);
in.setDataAndType(vidUri, "video/*");
Log.e(TAG, "On CLICK, VIDEO URL " + feedob);
startActivity(in);
Now the feedob is https://scontent.cdninstagram.com/t50.2886-16/12796233_1731088863793436_102464613_n.mp4