[英]Android - Progressive download over HTTPS
I am using following code to play a video from SDCard and HTTP links 我正在使用以下代码从SDCard和HTTP链接播放视频
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(**videoUrl**));
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
if the videoUrl is a HTTP then video player opens immediately and video starts playing through progressive download. 如果videoUrl是HTTP,则视频播放器立即打开,视频通过渐进式下载开始播放。
But if the videoUrl is a HTTPS url, then android downloads the entire video file, and then I have to click the file in "downloads" list to play the file. 但是如果videoUrl是一个HTTPS网址,那么android下载整个视频文件,然后我必须点击“下载”列表中的文件来播放该文件。
I found that android media player doesn't support HTTPS ( http://groups.google.com/group/android-developers/browse_thread/thread/7e7003b845c3fb98 ), 我发现Android媒体播放器不支持HTTPS( http://groups.google.com/group/android-developers/browse_thread/thread/7e7003b845c3fb98 ),
so does anyone know how to progressively download HTTPS videos? 那么有谁知道如何逐步下载HTTPS视频?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.