Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以监听当前视频播放的进度吗? #138

Closed
qq837890739 opened this issue Jul 13, 2018 · 4 comments
Closed

可以监听当前视频播放的进度吗? #138

qq837890739 opened this issue Jul 13, 2018 · 4 comments
Labels

Comments

@qq837890739
Copy link

当前具体播放到第几分地几秒

@yangchaojiang
Copy link
Owner

目前没有开发此接口回调

@qq837890739
Copy link
Author

好的谢谢,看来只能自己弄个计时器了

@yangchaojiang
Copy link
Owner

版本2.1.91
方法

addUpdateProgressListener(new AnimUtils.UpdateProgressListener() {
                    @Override
                    public void updateProgress(long position, long bufferedPosition, long duration) {
                         Log.d(TAG,"position:"+position);
                        Log.d(TAG,"bufferedPosition:"+position);
                        Log.d(TAG,"duration:"+duration);
                    }
                })

可以参考demo

@qq837890739
Copy link
Author

好的,非常感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants