Fix stopvideo event for HarmonyOS-Next platform. (#18794)

This commit is contained in:
qiuguohua
2025-06-18 15:03:31 +08:00
committed by GitHub
parent cb1037fbd5
commit 9077db261e
@@ -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();
});