可能重复:
Android Video Streaming using Video View (video view not showing automatially)
我尝试使用视频播放视频。网址为“https://s3.amazonaws.com/SpotKan/spotkan%2Fspotkanvideo_11339479677671.mp4?Expires=1339571130&AWSAccessKeyId=AKIAIDYFUTWVEWQSJRDA&Signature=huAPVtuxW3PtjUvT4Cxptnmfch0%3D”。我使用以下代码
vView = (VideoView)findViewById(R.id.videoview);
MediaController mediaController = new MediaController(this);
mediaController.setAnchorView(vView);
Uri video = Uri.parse(vSource);
vView.setMediaController(mediaController);
vView.setVideoURI(video);
vView.start();
这显示错误为D / MediaPlayer(562):无法在客户端打开文件,尝试服务器端 请提供任何建议。 提前致谢