From 2cf59d3069b9537d7f1c488c88c81f33a1478610 Mon Sep 17 00:00:00 2001 From: shuyu <359369982@qq.com> Date: Tue, 20 Dec 2016 22:13:53 +0800 Subject: [PATCH] 1.4.9 readme --- README.md | 9 ++++++++- .../java/com/example/gsyvideoplayer/MainActivity.java | 6 ++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7520861..0756d90 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ * **支持IJKPlayer和EXOPlayer切换。** * **进度条小窗口预览(测试)。** * **Https支持** +* **连续播放一个列表的视频** ## QQ群,有兴趣的可以进来,无底线欢迎:174815284 。 @@ -40,7 +41,7 @@ allprojects { ``` dependencies { - compile 'com.github.CarGuo:GSYVideoPlayer:v1.4.8' + compile 'com.github.CarGuo:GSYVideoPlayer:v1.4.9' } ``` @@ -69,6 +70,12 @@ dependencies { ## 下方个版本说明,可以当做简单的wiki使用~,效果可参考DEMO。 +### 1.4.9 +* 增加了连续播放列表的支持 ListGSYVideoPlayer。 +* 增加了列表播放的demo DetailListPlayer。 +* 减小了https版本的so的大小。 + + ### 1.4.8 * 锁定屏幕按键增加锁定屏幕旋转功能。 * 锁定屏幕按键增加回调接口。 diff --git a/app/src/main/java/com/example/gsyvideoplayer/MainActivity.java b/app/src/main/java/com/example/gsyvideoplayer/MainActivity.java index 33f91df..8deb35c 100644 --- a/app/src/main/java/com/example/gsyvideoplayer/MainActivity.java +++ b/app/src/main/java/com/example/gsyvideoplayer/MainActivity.java @@ -42,17 +42,19 @@ public class MainActivity extends AppCompatActivity { JumpUtils.goToVideoPlayer2(this); break; case R.id.recycler_2: + //recycler的demo JumpUtils.goToVideoRecyclerPlayer2(this); break; case R.id.list_detail: - //支持全屏重力旋转的列表播放,滑动后不会被销毁 + //支持旋转全屏的详情模式 JumpUtils.goToDetailPlayer(this); break; case R.id.list_detail_list: - //支持全屏重力旋转的列表播放,滑动后不会被销毁 + //播放一个连续列表 JumpUtils.goToDetailListPlayer(this); break; case R.id.clear_cache: + //清理缓存 GSYVideoManager.clearAllDefaultCache(MainActivity.this); //String url = "http://baobab.wdjcdn.com/14564977406580.mp4"; //GSYVideoManager.clearDefaultCache(MainActivity.this, url); -- GitLab