Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
沁852
GSYVideoPlayer
提交
d21dcb6c
G
GSYVideoPlayer
项目概览
沁852
/
GSYVideoPlayer
与 Fork 源项目一致
从无法访问的项目Fork
通知
9
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
GSYVideoPlayer
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d21dcb6c
编写于
12月 01, 2016
作者:
S
shuyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.3.5
上级
6ce23650
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
26 addition
and
7 deletion
+26
-7
README.md
README.md
+11
-2
gradle.properties
gradle.properties
+1
-1
gsyVideoPlayer/src/main/java/com/shuyu/gsyvideoplayer/video/GSYBaseVideoPlayer.java
...va/com/shuyu/gsyvideoplayer/video/GSYBaseVideoPlayer.java
+1
-1
gsyVideoPlayer/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java
...om/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java
+13
-0
gsyVideoPlayer/src/main/java/moe/codeest/enviews/ENDownloadView.java
...yer/src/main/java/moe/codeest/enviews/ENDownloadView.java
+0
-3
未找到文件。
README.md
浏览文件 @
d21dcb6c
...
...
@@ -19,13 +19,13 @@
<dependency>
<groupId>com.shuyu</groupId>
<artifactId>gsyVideoPlayer</artifactId>
<version>1.3.
4
</version>
<version>1.3.
5
</version>
<type>pom</type>
</dependency>
```
```
compile 'com.shuyu:gsyVideoPlayer:1.3.
4
'
compile 'com.shuyu:gsyVideoPlayer:1.3.
5
'
```
## 效果,录屏下的屏幕旋转和实际有些出入
...
...
@@ -45,6 +45,15 @@ compile 'com.shuyu:gsyVideoPlayer:1.3.4'
*
<h4>
3、详情模式
</h4>
<img
src=
"https://github.com/CarGuo/GSYVideoPlayer/blob/master/04.gif"
width=
"240px"
height=
"426px"
/>
### 1.3.5 增加了全屏隐藏虚拟按键;修复了缓冲过程中加载动画就停止了。
```
/**
* 全屏隐藏虚拟按键,默认打开
*/
public void setHideKey(boolean hideKey)
```
### 1.3.4 增加了清除默认缓存接口;增加了播放偏移;优化了拖动进度条或者缓存导致播放时间跳动的问题。
GSYVideoManager
...
...
gradle.properties
浏览文件 @
d21dcb6c
...
...
@@ -18,7 +18,7 @@ org.gradle.jvmargs=-Xmx1536m
BINTRAY_USER
=
BINTRAY_KEY
=
PROJ_GROUP
=
com.shuyu
PROJ_VERSION
=
1.3.
4
PROJ_VERSION
=
1.3.
5
PROJ_NAME
=
gsyVideo
PROJ_WEBSITEURL
=
hhttps://github.com/CarGuo/GSYVideoPlayer
PROJ_ISSUETRACKERURL
=
...
...
gsyVideoPlayer/src/main/java/com/shuyu/gsyvideoplayer/video/GSYBaseVideoPlayer.java
浏览文件 @
d21dcb6c
...
...
@@ -584,7 +584,7 @@ public abstract class GSYBaseVideoPlayer extends FrameLayout implements GSYMedia
}
/**
*
隐藏虚拟按键
*
全屏隐藏虚拟按键,默认打开
*/
public
void
setHideKey
(
boolean
hideKey
)
{
this
.
mHideKey
=
hideKey
;
...
...
gsyVideoPlayer/src/main/java/com/shuyu/gsyvideoplayer/video/StandardGSYVideoPlayer.java
浏览文件 @
d21dcb6c
...
...
@@ -348,6 +348,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
//Unified management Ui
private
void
changeUiToNormal
()
{
Debuger
.
printfLog
(
"changeUiToNormal"
);
mTopContainer
.
setVisibility
(
View
.
VISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
INVISIBLE
);
mStartButton
.
setVisibility
(
View
.
VISIBLE
);
...
...
@@ -360,6 +361,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToPrepareingShow
()
{
Debuger
.
printfLog
(
"changeUiToPrepareingShow"
);
mTopContainer
.
setVisibility
(
View
.
VISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
VISIBLE
);
mStartButton
.
setVisibility
(
View
.
INVISIBLE
);
...
...
@@ -371,6 +373,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToPrepareingClear
()
{
Debuger
.
printfLog
(
"changeUiToPrepareingClear"
);
mTopContainer
.
setVisibility
(
View
.
INVISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
INVISIBLE
);
mStartButton
.
setVisibility
(
View
.
INVISIBLE
);
...
...
@@ -380,6 +383,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToPlayingShow
()
{
Debuger
.
printfLog
(
"changeUiToPlayingShow"
);
mTopContainer
.
setVisibility
(
View
.
VISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
VISIBLE
);
mStartButton
.
setVisibility
(
View
.
VISIBLE
);
...
...
@@ -392,11 +396,13 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToPlayingClear
()
{
Debuger
.
printfLog
(
"changeUiToPlayingClear"
);
changeUiToClear
();
mBottomProgressBar
.
setVisibility
(
View
.
VISIBLE
);
}
private
void
changeUiToPauseShow
()
{
Debuger
.
printfLog
(
"changeUiToPauseShow"
);
mTopContainer
.
setVisibility
(
View
.
VISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
VISIBLE
);
mStartButton
.
setVisibility
(
View
.
VISIBLE
);
...
...
@@ -409,11 +415,13 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToPauseClear
()
{
Debuger
.
printfLog
(
"changeUiToPauseClear"
);
changeUiToClear
();
mBottomProgressBar
.
setVisibility
(
View
.
VISIBLE
);
}
private
void
changeUiToPlayingBufferingShow
()
{
Debuger
.
printfLog
(
"changeUiToPlayingBufferingShow"
);
mTopContainer
.
setVisibility
(
View
.
VISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
VISIBLE
);
mStartButton
.
setVisibility
(
View
.
INVISIBLE
);
...
...
@@ -425,6 +433,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToPlayingBufferingClear
()
{
Debuger
.
printfLog
(
"changeUiToPlayingBufferingClear"
);
mTopContainer
.
setVisibility
(
View
.
INVISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
INVISIBLE
);
mStartButton
.
setVisibility
(
View
.
INVISIBLE
);
...
...
@@ -437,6 +446,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToClear
()
{
Debuger
.
printfLog
(
"changeUiToClear"
);
mTopContainer
.
setVisibility
(
View
.
INVISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
INVISIBLE
);
mStartButton
.
setVisibility
(
View
.
INVISIBLE
);
...
...
@@ -448,6 +458,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToCompleteShow
()
{
Debuger
.
printfLog
(
"changeUiToCompleteShow"
);
mTopContainer
.
setVisibility
(
View
.
VISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
VISIBLE
);
mStartButton
.
setVisibility
(
View
.
VISIBLE
);
...
...
@@ -460,6 +471,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToCompleteClear
()
{
Debuger
.
printfLog
(
"changeUiToCompleteClear"
);
mTopContainer
.
setVisibility
(
View
.
INVISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
INVISIBLE
);
mStartButton
.
setVisibility
(
View
.
VISIBLE
);
...
...
@@ -472,6 +484,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
private
void
changeUiToError
()
{
Debuger
.
printfLog
(
"changeUiToError"
);
mTopContainer
.
setVisibility
(
View
.
INVISIBLE
);
mBottomContainer
.
setVisibility
(
View
.
INVISIBLE
);
mStartButton
.
setVisibility
(
View
.
VISIBLE
);
...
...
gsyVideoPlayer/src/main/java/moe/codeest/enviews/ENDownloadView.java
浏览文件 @
d21dcb6c
...
...
@@ -243,9 +243,6 @@ public class ENDownloadView extends View {
mValueAnimator
.
cancel
();
mValueAnimator
=
null
;
}
if
(
mCurrentState
!=
STATE_PRE
)
{
return
;
}
mCurrentState
=
STATE_PRE
;
mValueAnimator
=
ValueAnimator
.
ofFloat
(
1
.
f
,
100
.
f
);
mValueAnimator
.
setDuration
(
1500
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录