mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Fix stopvideo event for HarmonyOS-Next platform. (#18794)
This commit is contained in:
@@ -307,7 +307,7 @@ struct Index {
|
||||
let index = this.videoIndexMap.get(tag) as number;
|
||||
this.videoArray[index].controller.pause();
|
||||
});
|
||||
this.workPort?.on("pauseVideo",(tag: number) => {
|
||||
this.workPort?.on("stopVideo",(tag: number) => {
|
||||
let index = this.videoIndexMap.get(tag) as number;
|
||||
this.videoArray[index].controller.stop();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user