王士厅

功能缺陷-【uat】进入视频直播,点击暂停进度条未显示

... ... @@ -290,6 +290,7 @@ export struct DetailPlayShortVideoPage {
.onClick(() => {
this.playerController?.switchPlayOrPause();
this.playerController.onStatusChange = (status: number) => {
this.status = status
if (status === PlayerConstants.STATUS_PAUSE) {
this.isPlay = false
} else if(status === PlayerConstants.STATUS_START) {
... ...
... ... @@ -17,9 +17,6 @@ export struct PlayerProgressView {
@Consume onlyWifiLoadVideo: boolean
aboutToAppear() {
if (this.playerController) {
this.playerController.onStatusChange = (status: number) => {
this.status = status
}
this.playerController.onSeekDone = (status: number) => {
this.playerController?.play()
}
... ...