Skip to content

Commit

Permalink
发布1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maiwenchang committed Jun 7, 2020
1 parent 4b3a4aa commit b1be370
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 23 deletions.
16 changes: 8 additions & 8 deletions README.English.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,27 @@ This is a flexible video player. MediaPlayer is completely separate from VideoVi
### Getting started
basic dependency
```
implementation 'org.salient.artvideoplayer:artplayer-core:1.0.0'
implementation 'org.salient.artvideoplayer:artplayer-core:1.1.0'
```

using ExoPlayer
```
implementation "org.salient.artvideoplayer:artplayer-exo:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-exo:1.1.0"
```

using IjkPlayer
```
implementation 'org.salient.artvideoplayer:artplayer-ijk:1.0.0'
implementation "org.salient.artvideoplayer:artplayer-armv7a:1.0.0"
implementation 'org.salient.artvideoplayer:artplayer-ijk:1.1.0'
implementation "org.salient.artvideoplayer:artplayer-armv7a:1.1.0"
```

support different cpu architecture
```
implementation "org.salient.artvideoplayer:artplayer-armv5:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-x86:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-armv5:1.1.0"
implementation "org.salient.artvideoplayer:artplayer-x86:1.1.0"
//required minSdk version >= 21
implementation "org.salient.artvideoplayer:artplayer-arm64:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-x86_64:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-arm64:1.1.0"
implementation "org.salient.artvideoplayer:artplayer-x86_64:1.1.0"
```

### 使用方法
Expand Down
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,33 @@ Kotlin实现的视频播放器,将MediaPlayer与VideoView解耦合,支持切
- 多播放器同时播放
- Raw/Assets,本地视频文件播放支持
- Activity生命周期感知,实现了onPause暂停播放,onDestory停止播放并释放资源
- 手势操作支持(小窗:单指拖动,双指缩放;全屏:音量,亮度,快进)
- 重力感应支持

### 开始使用
核心依赖
```
implementation 'org.salient.artvideoplayer:artplayer-core:1.0.0'
implementation 'org.salient.artvideoplayer:artplayer-core:1.1.0'
```

选择使用ExoPlayer
```
implementation "org.salient.artvideoplayer:artplayer-exo:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-exo:1.1.0"
```

选择使用IjkPlayer
```
implementation 'org.salient.artvideoplayer:artplayer-ijk:1.0.0'
implementation "org.salient.artvideoplayer:artplayer-armv7a:1.0.0"
implementation 'org.salient.artvideoplayer:artplayer-ijk:1.1.0'
implementation "org.salient.artvideoplayer:artplayer-armv7a:1.1.0"
```

需要支持不同的cpu架构
```
implementation "org.salient.artvideoplayer:artplayer-armv5:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-x86:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-armv5:1.1.0"
implementation "org.salient.artvideoplayer:artplayer-x86:1.1.0"
//下面两个需要minSdk version >= 21
implementation "org.salient.artvideoplayer:artplayer-arm64:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-x86_64:1.0.0"
implementation "org.salient.artvideoplayer:artplayer-arm64:1.1.0"
implementation "org.salient.artvideoplayer:artplayer-x86_64:1.1.0"
```

### 使用方法
Expand Down Expand Up @@ -100,11 +102,6 @@ Glide.with(context)
.into(videoView.cover);
```

### 开发中
- Kotlin版本
- 手势操作支持(小窗:单指拖动,双指缩放;全屏:音量,亮度,快进)
- 重力感应支持

### 支持
- 请在 github 上公开讨论[技术问题](https://github.com/maiwenchang/ArtPlayer/issues)
- 详细的说明文档请查看[Wiki](https://github.com/maiwenchang/ArtPlayer/wiki)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ buildscript {
artPlayerVersion = "0.8.0"
}

ext.libraryVersionCode = 10000
ext.libraryVersionName = "1.0.0"
ext.libraryVersionCode = 10100
ext.libraryVersionName = "1.1.0"

repositories {
google()
Expand Down

0 comments on commit b1be370

Please sign in to comment.