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

pluginHook无效 #1594

Open
rongcl9219 opened this issue Sep 2, 2024 · 0 comments
Open

pluginHook无效 #1594

rongcl9219 opened this issue Sep 2, 2024 · 0 comments

Comments

@rongcl9219
Copy link

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
3.0.20

您使用的操作系统和浏览器分别是? What OS and browser are you using?
windowx10 、Chrome浏览器128.0.6613.113版本

如何复现问题? How to reproduce the problem?

plugin start 使用click hook无效

player.usePluginHooks('start', 'click', () => {
console.log('start click');
return true;
})

您期望的播放器正常行为是? What did you expect to happen?
能够正常使用hook

实际播放器的表现是? What actually happened?
不可用
并且提示 hooksDescriptor.js:87 has no supported hook which name [click]

可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.

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

1 participant