Comments (6)
如果可以请关闭issue,(^-^)V
from gsyvideoplayer.
内部有getCurrentPositionWhenPlaying和 getDuration()接口,不过都是protected属性,我开放一下吧。不过需要在加载到数据的时候才可以获取到,我更新下版本吧··
from gsyvideoplayer.
你好,1.2.2已经更新getCurrentPositionWhenPlaying和 getDuration()已经开放了,增加了VideoAllCallBack的onPrepared接口。
推荐如DEMO中的SampleListener一样继承VideoAllCallBack然后再重载你需要的接口,可以在onPrepared里面获取到总时长,在你需要的时候getCurrentPositionWhenPlaying获取当期时长。
from gsyvideoplayer.
谢谢!
from gsyvideoplayer.
获取当前的播放时间 ,莫非是要做广告 ε=ε=ε=┏(゜ロ゜;)┛
from gsyvideoplayer.
@Lsy1992 哈哈哈
from gsyvideoplayer.
Related Issues (20)
- 亮度调节dialog全屏显示不全 HOT 3
- 请问能获取到退出全屏的回调吗 HOT 1
- 更新SDK后,华为报病毒 HOT 11
- 有flutter版本么? HOT 1
- 继承了StandardGSYVideoPlayer,自定义播放器添加了UI横屏的时候修改UI状态没有反应 HOT 2
- 我用的v8.5.0版本,oppo应用市场提醒上线审核不通过 ,提示超频次读取DEVICEID +2,需要您帮忙处理下. HOT 1
- 横屏的情况切换url 播放黑屏,但是有声音,切换竖屏是正常播放。但是只要在横屏切换的话会黑屏 HOT 3
- 关于DRM license url支持 HOT 1
- 覆写updateStartImage方法,换图无效 HOT 5
- 从指定位置播放对有的视频不起作用 HOT 5
- 电视盒子上使用SystemPlayerManager,并设置GSYVideoType.GLSURFACE时,无法播放视频 HOT 6
- CacheHelper.download 下载报错 java.lang.IllegalStateException HOT 1
- app刚安装状态点击崩溃 HOT 2
- 视频点击时 全屏按钮显示隐藏的回调是哪个? HOT 1
- 根据教程编译SO库,MP2有声音了,但是https视频播放不了了,请问是啥原因呢? HOT 1
- 播放.wmv文件播放不了
- 音视频播放不同步 HOT 6
- Activity中切换Fragment被释放问题导致状态错乱控制失效 HOT 12
- 特殊视频无法播放问题 HOT 4
- 加载一个链接多次请求接口 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsyvideoplayer.