xugenyuan

ref |> 文章详情页中-视频播放与语音播放同时播放了;

http://192.168.1.3:8080/zentao/bug-view-20630.html

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
... ... @@ -74,6 +74,16 @@ export struct WdWebLocalComponent {
}
aboutToAppear(): void {
EmitterUtils.receiveEvent(EmitterEventId.AUDIO_CHANGE_STATUS, (status) => {
Logger.debug(TAG, "接收音频播放状态 = " + status);
if (!this.isPause) {
this.controller.pause()
this.cancelProgressTimer()
}
})
}
build() {
Column() {
Row() {
... ...