王士厅

fix: 沉浸式视频播放,视频A播放,下滑或上滑切其它视频,再次上滑或下滑切换视频A,修改为重播

... ... @@ -118,7 +118,7 @@ export struct DetailPlayShortVideoPage {
if (!this.onlyWifiLoadVideo) {
await this.playerController.pause()
} else {
await this.playerController.play()
this.playerController.resetPlay()
await this.playerController.startRenderFrame(() => {
this.imageVisible = false
})
... ...
... ... @@ -29,7 +29,9 @@ export struct PlayerProgressView {
this.showLoading = true
}
this.timer = setTimeout(() => {
if (this.playerController?.getPlayer()) {
ToastUtils.shortToast('网络出小差了,请检查下网络')
}
}, 10000)
} else {
clearTimeout(this.timer)
... ...