Skip to content

Commit

Permalink
release v2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Doikki committed Jul 18, 2018
1 parent eaed2d8 commit 84e06fd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ allprojects {
dependencies {
# 必选,可兼容市面上绝大部分设备
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-java:2.5.2'
implementation 'com.github.dueeeke.dkplayer:dkplayer-armv7a:2.5.2'
# 可选,用于兼容一些其他的CPU架构
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-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'
# 可选,里面包含StandardVideoController的实现
implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:2.5.1'
implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:2.5.2'
}
```
或者将library下载并导入项目中使用
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId "com.dueeeke.dkplayer"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 25
versionName "2.5.1"
versionCode 26
versionName "2.5.2"

ndk {
//打包时只保留armeabi-v7a so
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void onBindViewHolder(final VideoHolder holder, int position) {
Glide.with(context)
.load(videoBean.getThumb())
.crossFade()
.placeholder(android.R.color.darker_gray)
.placeholder(android.R.color.white)
.into(holder.controller.getThumb());
holder.ijkVideoView.setPlayerConfig(holder.mPlayerConfig);
holder.ijkVideoView.setUrl(videoBean.getUrl());
Expand Down

0 comments on commit 84e06fd

Please sign in to comment.