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

是否有办法主动暂停广告的播放? #85

Open
lizhuoyuan opened this issue Dec 5, 2022 · 4 comments
Open

是否有办法主动暂停广告的播放? #85

lizhuoyuan opened this issue Dec 5, 2022 · 4 comments

Comments

@lizhuoyuan
Copy link

比如draw视频广告,如果是用在tab的话
切换tab并不会导致广告停止播放,目前没找到方法.

比如有AB两个tab页
广告在A页面播放,切换到B页面,看不到广告,但仍有声音

@gstory0404
Copy link
Owner

暂时 不支持外部控制视频的播放暂停

@lizhuoyuan
Copy link
Author

那有什么办法可以在切换tab的时候停止广告播放 或者关闭声音吗

@gstory0404
Copy link
Owner

gstory0404 commented Dec 6, 2022

后面抽空可以加一下,目前版本没有相关api

@lizhuoyuan
Copy link
Author

目前使用Visibility包裹, 来暂时实现是否展示广告
其他人可在功能实现前参考

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