开发者

Android video play?

I have the vzzar video, when you paste it in your browser , its going to download the video in mp4 format , but i don`t know how to play that video u开发者_如何学Gosing the link by buffering and playback it.


Check out the sample code from API Demos


Just use this code in your Activity:

 mVideoView.setVideoPath("http://view.vzaar.com/750184.mp4");
 mVideoView.setMediaController(new MediaController(this));
 mVideoView.requestFocus();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜