features
- base on ijkplayer.
- gestures for volume control
- gestures for brightness control
- gestures for forward or backward
- fullscreen by manual or sensor
- lock screen feature
- AspectRatio feature.
API:
play(url)
//play videostop()
//stop videopause()
//pause videostart()
//start videoforward()
// forward or back video,example: forward(0.1f) forward(-0.1f)getCurrentPosition()
setScaleType(MKPlayer.SCALETYPE_FITPARENT)
//set video scale typetoggleAspectRatio()
// toggle video scale typeseekTo(...)
//seek to specify positiongetDuration()
//get video durationonInfo(...)
//callback when have some informationonError(...)
//callback when an error occurredonComplete(...)
//callback when the play is overonControlPanelVisibilityChange(...)
//callback when control panel visibility changesetPlayerCallbacks()
//Callback to control next and previous methods