cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

fix: browser video-player doesnot emit click event

Open planetofdust opened this issue 3 years ago • 1 comments

使用creator3.2版本引擎的videoplayer组件,在web上调试中发现不会触发组件的onclick事件,故修改了video-player.ts脚本,修改后测试正常。 切换到3.5.2版本引擎依然存在此问题,请官方合并此fix。

planetofdust avatar Jul 29 '22 12:07 planetofdust

Interface Check Report

! WARNING this pull request has changed these public interfaces:

@@ -47937,8 +47937,9 @@
         onPaused(): void;
         onStopped(): void;
         onCompleted(): void;
         onError(): void;
+        onClicked(): void;
         /**
          * @en
          * Play the clip.<br>
          * Restart if already playing.<br>

github-actions[bot] avatar Jul 29 '22 12:07 github-actions[bot]