diff --git a/README-ZH.md b/README-ZH.md index 3352f86e2..fc7db6ed4 100644 --- a/README-ZH.md +++ b/README-ZH.md @@ -2,7 +2,7 @@ --
@@ -26,7 +26,7 @@ ##效果 -**[jiecaovideoplayer-4.8.3-demo.apk](https://github.com/lipangit/JieCaoVideoPlayer/releases/download/v4.8.3/jiecaovideoplayer-4.8.3.apk)** +**[jiecaovideoplayer-5.0_preview-demo.apk](https://github.com/lipangit/JieCaoVideoPlayer/releases/download/v5.0_preview/jiecaovideoplayer-5.0_preview.apk)** ![Demo Screenshot][1] @@ -34,12 +34,12 @@ 即便是自定义UI,或者对Library有过修改,也是这四步骤来使用播放器。 -1.添加类库 +1.添加类库,稳定版本是4.8.3,这是用exoplayer播放的预览版本,给大家看看初步的效果,还有很多问题。 ```gradle -compile 'fm.jiecao:jiecaovideoplayer:4.8.3' +compile 'fm.jiecao:jiecaovideoplayer:5.0_preview' ``` -[或直接下载jar包](https://github.com/lipangit/JieCaoVideoPlayer/releases/tag/v4.8.3) +[或直接下载jar包](https://github.com/lipangit/JieCaoVideoPlayer/releases/tag/v5.0_preview) 2.添加布局 ```xml diff --git a/README.md b/README.md index d958dd65e..37cf925f6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -- @@ -28,7 +28,7 @@ ## Effect -**[jiecaovideoplayer-4.8.3-demo.apk](https://github.com/lipangit/JieCaoVideoPlayer/releases/download/v4.8.3/jiecaovideoplayer-4.8.3.apk)** +**[jiecaovideoplayer-5.0_preview-demo.apk](https://github.com/lipangit/JieCaoVideoPlayer/releases/download/v5.0_preview/jiecaovideoplayer-5.0_preview.apk)** ![Demo Screenshot][1] @@ -36,12 +36,12 @@ Even the custom UI, or has changed to the Library, is also the four steps to use the player. -1.Import library +1.Import library but current stable version is still 4.8.3, 5.0 use exoplayer also have many problems. ```gradle -compile 'fm.jiecao:jiecaovideoplayer:4.8.3' +compile 'fm.jiecao:jiecaovideoplayer:5.0_preview' ``` -[Or download lib](https://github.com/lipangit/JieCaoVideoPlayer/releases/tag/v4.8.3) +[Or download lib](https://github.com/lipangit/JieCaoVideoPlayer/releases/tag/v5.0_preview) 2.Add JCVideoPlayer in your layout ```xml diff --git a/app/build.gradle b/app/build.gradle index 7a2e66dea..22039c78d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,15 +1,15 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 24 - buildToolsVersion '24.0.2' + compileSdkVersion 25 + buildToolsVersion '25.0.0' defaultConfig { applicationId "fm.jiecao.jiecaovideoplayer" - minSdkVersion 14 - targetSdkVersion 24 - versionCode 47 - versionName "4.8.3" + minSdkVersion 16 + targetSdkVersion 25 + versionCode 48 + versionName "5.0_preview" } buildTypes { release { @@ -26,15 +26,15 @@ dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile project(':jcvideoplayer-lib') - compile 'com.github.bumptech.glide:glide:3.5.2' +// compile 'com.github.bumptech.glide:glide:3.5.2' compile 'com.squareup.picasso:picasso:2.5.1' - compile 'com.facebook.fresco:fresco:0.9.0' - compile 'com.mcxiaoke.volley:library:1.0.7' - compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4' +// compile 'com.facebook.fresco:fresco:0.9.0' +// compile 'com.mcxiaoke.volley:library:1.0.7' +// compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4' debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2' releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2' testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2' - compile 'com.android.support:recyclerview-v7:24.1.1' + compile 'com.android.support:recyclerview-v7:25.0.1' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7e957b1ec..b28523d50 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,6 +3,8 @@ package="fm.jiecao.jiecaovideoplayer">