From b1be3700653dfe8e1118685812f723d13ea47c5c Mon Sep 17 00:00:00 2001 From: maiwenchang Date: Sun, 7 Jun 2020 11:36:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=831.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.English.md | 16 ++++++++-------- README.md | 23 ++++++++++------------- build.gradle | 4 ++-- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/README.English.md b/README.English.md index 9abbc41..5c6495c 100644 --- a/README.English.md +++ b/README.English.md @@ -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" ``` ### 使用方法 diff --git a/README.md b/README.md index f0be25a..71cf2cd 100644 --- a/README.md +++ b/README.md @@ -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" ``` ### 使用方法 @@ -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) diff --git a/build.gradle b/build.gradle index 0048fe3..dbd3141 100644 --- a/build.gradle +++ b/build.gradle @@ -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()