Based on IjkPlayer and a simple UI controller
#Getting start
Clone the library to your project,and type the code into you layout file,like this:
<com.sounder.dcqvideo.widgets.DcqVideoView
android:id="@+id/video"
android:layout_width="match_parent"
android:layout_height="200dp"/>
In your Activity:
DcqVideoView mVideoView = (DcqVideoView) findViewById(R.id.video);
mVideoView.setUp("your video url","title");
add it to onResume method:
mVideoView.resume();
when you need to close the activity,you had better to release the resourse by using MediaPlayerManager.release() in the onDestroy method.
当然你也可以看我的CSDN博客 #About I'm just a beginner of Android, if you get some bugs or you have some good ideas, please leave a message. My english is not good,i hope you can understand what i mean.