Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ac13
GSYVideoPlayer
提交
42fd530a
G
GSYVideoPlayer
项目概览
ac13
/
GSYVideoPlayer
与 Fork 源项目一致
从无法访问的项目Fork
通知
7
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 搜索 >>
提交
42fd530a
编写于
7月 09, 2017
作者:
S
shuyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改为新的项目结构,修改为新的发布模式,增加了ex so 支持更多格式 (2017-07-09)
上级
1e6dda29
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
35 addition
and
4 deletion
+35
-4
README.md
README.md
+32
-2
app/build.gradle
app/build.gradle
+2
-1
gradle.properties
gradle.properties
+1
-1
未找到文件。
README.md
浏览文件 @
42fd530a
...
...
@@ -33,14 +33,44 @@
## 使用依赖(支持jcenter和jitpack)
### 1、JCenter 引入方法
### 1、JCenter 引入方法
(推荐)
#### 直接在module下的build.gradle添加
```
compile 'com.shuyu:GSYVideoPlayer:1.6.9'
//完整版
compile 'com.shuyu:GSYVideoPlayer:2.0.0'
```
##### 或者
```
compile 'com.shuyu:gsyVideoPlayer-java:2.0.0'
//根据你的需求
compile 'com.shuyu:gsyVideoPlayer-armv5:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-armv7a:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-arm64:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-x64:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-x86:2.0.0'
```
##### 或者 支持更多格式协议的(mpeg,concat、crypto协议)
以上普通版本支持263/264/265,对于mpeg会有有声音无画面情况。
这种方法引入的so支持mpeg编码,但是so包相对变大。
```
compile 'com.shuyu:gsyVideoPlayer-java:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-ex_so:2.0.0'
```
--------------------------------------------------------------------------------
### 2、JitPack引入方法
...
...
app/build.gradle
浏览文件 @
42fd530a
...
...
@@ -58,5 +58,6 @@ dependencies {
compile
viewDependencies
.
ndkbitmap_x86
compile
androidDependencies
.
support_v4
//debugCompile dataDependencies.leakcanary
compile
project
(
':gsyVideoPlayer'
)
//compile project(':gsyVideoPlayer')
compile
'com.shuyu:GSYVideoPlayer:2.0.0'
}
gradle.properties
浏览文件 @
42fd530a
...
...
@@ -16,7 +16,7 @@ org.gradle.jvmargs=-Xmx1536m
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
BINTRAY_USER
=
carguo
BINTRAY_KEY
=
BINTRAY_KEY
=
95b0b4a21276e242d96353431c1379a0c46a8c9f
PROJ_GROUP
=
com.shuyu
PROJ_VERSION
=
2.0.0
PROJ_WEBSITEURL
=
https://github.com/CarGuo/GSYVideoPlayer
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录