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

穿透插件不绑定事件时不会触发video上的事件 #128

Closed
bravelincy opened this issue May 30, 2018 · 1 comment
Closed

穿透插件不绑定事件时不会触发video上的事件 #128

bravelincy opened this issue May 30, 2018 · 1 comment
Assignees
Labels

Comments

@bravelincy
Copy link

问题描述:chimee-plugin-controlbar插件里绑定了click事件控制视频播放/暂停,自定义穿透事件不设置events中对应的click事件时,不触发video上的click事件,0.9.5版本无此问题。
chimee版本:0.10.0-alpha.9
chimee-plugin-controlbar版本:0.4.4
问题重现demo:https://codesandbox.io/s/9j880ynnrr

插件声明:

export default {
  name: "myPlugin",
  penetrate: true,
  el: '<div class="my-plugin"><div class="my-plugin-inner"></div></div>',
  create() {}
};

初始化:

new Chimee({
  plugin: [
    ChimeePluginControlbar.name, 
    MyPlugin.name
  ]
}
@toxic-johann toxic-johann self-assigned this May 30, 2018
toxic-johann added a commit that referenced this issue May 30, 2018
toxic-johann added a commit that referenced this issue May 30, 2018
@toxic-johann
Copy link
Member

已修复,下载0.10.0-alpha.10 即可。

可使用如下命令反馈

npm install chimee@next

感谢反馈。

toxic-johann added a commit that referenced this issue May 31, 2019
toxic-johann added a commit that referenced this issue May 31, 2019
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