wiatec / ExPlayer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ExPlayer

Android player library with four engine(native, Ijk, Exo, Vlc)

Usage

exPlayView = findViewById(R.id.ex_play_view);
exPlayView.setDataSource(URL, "Title");
ExPlayerController  controller = new ExPlayerController(this);
controller.setBtnFullScreenVisibility(true);
controller.setBtnMoreVisibility(false);
exPlayView.setController(controller);
exPlayView.prepare(Player.ENGINE_NATIVE);

Install

implementation 'com.ex.lib:explayer:1.0.2'

Config

module build.gradle

defaultConfig scope

ndk {
    abiFilters "armeabi-v7a"
}

android scope

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8     
    targetCompatibility JavaVersion.VERSION_1_8
}

About


Languages

Language:Java 100.0%