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

Suggest adding some apis to get status of the controls #57

Closed
lynnic26 opened this issue Aug 9, 2018 · 1 comment
Closed

Suggest adding some apis to get status of the controls #57

lynnic26 opened this issue Aug 9, 2018 · 1 comment

Comments

@lynnic26
Copy link

lynnic26 commented Aug 9, 2018

Hi,
now we inspect DOM to see the status of controls, it is not so convenient
can your guys add some apis to get status of controls ?
for example:
get the status of fullscreen and whether the bullet is enabled and so on via player instance directly

希望能添加一些可以获取控件状态的api, 比如弹幕是否开启、全屏是否开启
现在的方式是用js查看DOM的状态,有点不方便

Thanks : )

@lynnic26 lynnic26 changed the title suggest adding some api to get status of controls Suggest adding some apis to get status of the controls Aug 9, 2018
@zhangxin92
Copy link
Contributor

Fixed by bb8079 with adding fullsceen, bullet, textTrack, picture-in-picture status. Can be used in v1.0.9.

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