Skip to content

🔥 🔥Aplayer,几乎可以播放所有格式类型的视频; aplayer播放器; 视频播放器,VideoPlayer; 超强内核(支持64位cpu框架) Aplayer, which can play almost any type of video format;aplayer;VideoPlayer,VideoPlayer;Super strong kernel (support 64-bit cpu framework)

Notifications You must be signed in to change notification settings

super963883929/Aplayerx

Repository files navigation

Aplayerx

Aplayer播放器,视频播放器,几乎可以播放所有格式类型的视频

导入之后要记得在build.gradle(:app)里面加载so文件

defaultConfig {
        ....
    ndk{ //加载so文件
        abiFilters "armeabi-v7a"
        // abiFilters 'arm64-v8a' //64位系统请用 arm64-v8a
    }
}

//------------------------------------------------------------

public class MainActivity extends AppCompatActivity {
 
    private EditText editText;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        editText = findViewById(R.id.editText);
        editText.setText("http://vfx.mtime.cn/Video/2019/03/18/mp4/190318231014076505.mp4");
       
        //回调
         APlayerActivity.setOnPlayerCallBack(new OnPlayerCallBack() {
            @Override
            public void onFinish() {
               
            }

            @Override
            public void onPause() {

            }

            @Override
            public void onStart() {

            }
        });
    }
    //调用
    public void playVideo(View view){
         APlayerActivity.playVideo(this,"测试标题",editText.getText().toString().trim(),false,0)
    }
}

混淆问题: 注意不要混淆了

#Aplayer
-keep class com.tools.aplayer* { *; }
-keep class com.aplayer.* { *; }
-keep class com.example.* { *; }

apk下载: https://github.com/super963883929/Aplayerx/blob/06c7cd5c32b97eb5f6ef15eedd0b198b97eb3cc7/app-debug.apk

This is an image

About

🔥 🔥Aplayer,几乎可以播放所有格式类型的视频; aplayer播放器; 视频播放器,VideoPlayer; 超强内核(支持64位cpu框架) Aplayer, which can play almost any type of video format;aplayer;VideoPlayer,VideoPlayer;Super strong kernel (support 64-bit cpu framework)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages