Skip to content

this player based on ijkplayer, very simple to use it.

License

Notifications You must be signed in to change notification settings

longzekai/XPlayer

Repository files navigation

XPlayer

In this App,load phone storage all video files based on MediaLoader

/** 设置解码模式*/
mXPlayer.setDecodeMode(new PlayerMenu().getDecodeMode(decodeMode));
/** 设置渲染视图类型*/
mXPlayer.setViewType(ViewType.SURFACEVIEW);
/** 是否显示播放帧率等信息*/
mXPlayer.showTableLayout();
/** 播放事件监听*/
mXPlayer.setOnPlayerEventListener(this);
/** 播放错误监听*/
mXPlayer.setOnErrorListener(this);
/** 播放指定的资源*/
mXPlayer.setData(url);
/** 启动播放*/
mXPlayer.start();

About

this player based on ijkplayer, very simple to use it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages