diff --git a/README.md b/README.md index 81ae7b39..e4693f5b 100644 --- a/README.md +++ b/README.md @@ -39,17 +39,17 @@ allprojects { dependencies { # 必选,可兼容市面上绝大部分设备 - implementation 'com.github.dueeeke.dkplayer:dkplayer-java:2.5.2' - implementation 'com.github.dueeeke.dkplayer:dkplayer-armv7a:2.5.2' + implementation 'com.github.dueeeke.dkplayer:dkplayer-java:2.5.3' + implementation 'com.github.dueeeke.dkplayer:dkplayer-armv7a:2.5.3' # 可选,用于兼容一些其他的CPU架构 - implementation 'com.github.dueeeke.dkplayer:dkplayer-armv5:2.5.2' - implementation 'com.github.dueeeke.dkplayer:dkplayer-arm64:2.5.2' - implementation 'com.github.dueeeke.dkplayer:dkplayer-x86:2.5.2' - implementation 'com.github.dueeeke.dkplayer:dkplayer-x86_64:2.5.2' + implementation 'com.github.dueeeke.dkplayer:dkplayer-armv5:2.5.3' + implementation 'com.github.dueeeke.dkplayer:dkplayer-arm64:2.5.3' + implementation 'com.github.dueeeke.dkplayer:dkplayer-x86:2.5.3' + implementation 'com.github.dueeeke.dkplayer:dkplayer-x86_64:2.5.3' # 可选,里面包含StandardVideoController的实现 - implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:2.5.2' + implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:2.5.3' } ``` 或者将library下载并导入项目中使用 diff --git a/app/build.gradle b/app/build.gradle index a9018ddb..efb178dd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,11 +12,11 @@ android { applicationId "com.dueeeke.dkplayer" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 26 - versionName "2.5.2" + versionCode 27 + versionName "2.5.3" ndk { - //打包时只保留armeabi-v7a so + //打包时保留armeabi-v7a x86 so abiFilters "armeabi-v7a", "x86" } } @@ -92,11 +92,11 @@ dependencies { implementation project(':dkplayer-armv5') implementation project(':dkplayer-x86') implementation project(':dkplayer-x86_64') -// implementation 'com.github.dueeeke.dkplayer:dkplayer-java:2.5.1' -// implementation 'com.github.dueeeke.dkplayer:dkplayer-armv7a:2.5.1' -// implementation 'com.github.dueeeke.dkplayer:dkplayer-armv5:2.5.1' -// implementation 'com.github.dueeeke.dkplayer:dkplayer-arm64:2.5.1' -// implementation 'com.github.dueeeke.dkplayer:dkplayer-x86:2.5.1' -// implementation 'com.github.dueeeke.dkplayer:dkplayer-x86_64:2.5.1' -// implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:2.5.1' +// implementation 'com.github.dueeeke.dkplayer:dkplayer-java:2.5.2' +// implementation 'com.github.dueeeke.dkplayer:dkplayer-armv7a:2.5.2' +// implementation 'com.github.dueeeke.dkplayer:dkplayer-armv5:2.5.2' +// implementation 'com.github.dueeeke.dkplayer:dkplayer-arm64:2.5.2' +// implementation 'com.github.dueeeke.dkplayer:dkplayer-x86:2.5.2' +// implementation 'com.github.dueeeke.dkplayer:dkplayer-x86_64:2.5.2' +// implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:2.5.2' } diff --git a/dkplayer-ui/src/main/java/com/dueeeke/videocontroller/StandardVideoController.java b/dkplayer-ui/src/main/java/com/dueeeke/videocontroller/StandardVideoController.java index 26f04f9a..53fe6ad5 100644 --- a/dkplayer-ui/src/main/java/com/dueeeke/videocontroller/StandardVideoController.java +++ b/dkplayer-ui/src/main/java/com/dueeeke/videocontroller/StandardVideoController.java @@ -215,7 +215,7 @@ public void setPlayState(int playState) { completeContainer.setVisibility(View.GONE); startPlayButton.setVisibility(View.GONE); loadingProgress.setVisibility(View.VISIBLE); - thumb.setVisibility(View.VISIBLE); +// thumb.setVisibility(View.VISIBLE); break; case IjkVideoView.STATE_PREPARED: L.e("STATE_PREPARED");