I use the following code to play videos from sdcard and http links
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(**videoUrl**));
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
if videoUrl is HTTP, then the video player opens immediately and the video starts playing through progressive download.
But if videoUrl is an HTTPS url, then android downloads the whole video file, and then I have to click the file in the “download” list to play the file.
I found that the Android media player does not support HTTPS ( http://groups.google.com/group/android-developers/browse_thread/thread/7e7003b845c3fb98 )
so does anyone know how to gradually upload HTTPS videos?
source
share