h5player icon indicating copy to clipboard operation
h5player copied to clipboard

[BUG]MAC下 Command键问题

Open vincentOliu opened this issue 3 years ago • 1 comments

最近看视频加速跳着看比较多,发现command+方向键,没办法加减30s。 想了下,估计和我上次提到的mac上页面打开插件command+c无法使用一个问题,就在所有ctrl键地方添加command键判断,用了一阵子没什么问题。

解决方法(已测试):将所有 ctrl 键有关替换为 ctrl或command键 event.ctrlKey 替换为 (event.ctrlKey || event.metaKey)

麻烦作者有空看看这个解决方案可行不,可行的话有空整合到你的代码中,谢了

vincentOliu avatar Dec 25 '20 09:12 vincentOliu

mac 上command 和win上ctrl功能相同,ctrl 在mac上会用作他用,我的就是被别的快捷键组合占用了,为了保证mac上键位风格一致,希望作者能采纳意见,谢谢

vincentOliu avatar Dec 25 '20 09:12 vincentOliu