提交 aaa8aad2 编写于 作者: S shuyu

1.3.4 优化缓冲的时间显示

上级 5b8b774d
......@@ -45,7 +45,7 @@ compile 'com.shuyu:gsyVideoPlayer:1.3.3'
* <h4>3、详情模式</h4>
<img src="https://github.com/CarGuo/GSYVideoPlayer/blob/master/04.gif" width="240px" height="426px"/>
### 1.3.4 增加了清除默认缓存接口,优化了临时缓存文件错误的清理
### 1.3.4 增加了清除默认缓存接口。优化了拖动进度条或者缓存导致播放时间从0跳动的问题。
GSYVideoManager
......
......@@ -261,7 +261,7 @@ public abstract class GSYBaseVideoPlayer extends FrameLayout implements GSYMedia
gsyVideoPlayer.setVisibility(INVISIBLE);
resolveFullVideoShow(context, gsyVideoPlayer);
}
gsyVideoPlayer.mHadPlay = mHadPlay;
gsyVideoPlayer.setUp(mUrl, mCache, mCachePath, mMapHeadData, mObjects);
gsyVideoPlayer.setStateAndUi(mCurrentState);
gsyVideoPlayer.addTextureView();
......@@ -382,7 +382,7 @@ public abstract class GSYBaseVideoPlayer extends FrameLayout implements GSYMedia
frameLayout.addView(gsyVideoPlayer, lp);
vp.addView(frameLayout, lpParent);
gsyVideoPlayer.mHadPlay = mHadPlay;
gsyVideoPlayer.setUp(mUrl, mCache, mCachePath, mMapHeadData, mObjects);
gsyVideoPlayer.setStateAndUi(mCurrentState);
gsyVideoPlayer.addTextureView();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册