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

能否获取视频第一贞的图片,有没有这样的方法 #1

Open
maokuaile opened this issue Dec 26, 2018 · 1 comment
Open

Comments

@maokuaile
Copy link

No description provided.

@tangye1234
Copy link
Member

@maokuaile 目前没有提供,主要是因为这个项目仅仅是对 player 的一层封装,所以,如果player 本身没有原生支持,我们不会自己去做这样的事的。

本项目要解决的问题是,将一些生命周期,layout,以及显示海报等功能,封装为一个易用的View。同时支持底层Player的状态监听,并维护好了多个Player状态与ControlView的关系。

如果需要第一帧的图片,目前唯一的做法就是,通过preload视频后,如果不是自动播放,那么停在第一帧。这个需求,建议由用户自行再去做封装。

播放器在TextureView的渲染模式下,提供截图功能。

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

No branches or pull requests

2 participants