Skip to content

Sounder721/dcqvideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dcqvideo

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.

About

Based on IjkPlayer and a simple UI controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages