在Android中自动播放HTTPS视频

时间:2013-05-13 19:05:06

标签: android cordova phonegap-plugins android-video-player

如果网址是HTTPS,我有什么方法可以让这段代码播放视频?

我的应用程序是一个JqueryMobile应用程序,我正在尝试使用Android的本机播放器和自动播放MP4视频。 PhoneGap的。这种情况有没有解决方法?真的很感激任何帮助。

Uri uri = Uri.parse(url);
 intent = new Intent(Intent.ACTION_VIEW);
            intent.setDataAndType(uri, "video/*");
this.cordova.getActivity().startActivity(intent);

0 个答案:

没有答案