From 86c8232a44583e09b56ae78291b03429066c2742 Mon Sep 17 00:00:00 2001 From: xxb-wzy Date: Thu, 11 May 2023 17:13:42 +0800 Subject: [PATCH] Signed-off-by: xxb-wzy Change-Id: Ide6a0712f0b3b9f0d80e97d800fe5c1880aa90e9 --- zh-cn/application-dev/media/using-avplayer-for-playback.md | 2 +- zh-cn/application-dev/media/video-playback.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/media/using-avplayer-for-playback.md b/zh-cn/application-dev/media/using-avplayer-for-playback.md index d45d2e49d4..95edec4d34 100644 --- a/zh-cn/application-dev/media/using-avplayer-for-playback.md +++ b/zh-cn/application-dev/media/using-avplayer-for-playback.md @@ -104,7 +104,7 @@ export class AVPlayerDemo { case 'playing': // play成功调用后触发该状态机上报 console.info('AVPlayer state playing called.'); if (this.count !== 0) { - if (this.isSeek === true) { + if (this.isSeek) { console.info('AVPlayer start to seek.'); this.avPlayer.seek(this.avPlayer.duration); //seek到音频末尾 } else { diff --git a/zh-cn/application-dev/media/video-playback.md b/zh-cn/application-dev/media/video-playback.md index c0019ca92c..da324f4819 100644 --- a/zh-cn/application-dev/media/video-playback.md +++ b/zh-cn/application-dev/media/video-playback.md @@ -115,7 +115,7 @@ export class AVPlayerDemo { case 'playing': // play成功调用后触发该状态机上报 console.info('AVPlayer state playing called.'); if (this.count !== 0) { - if (this.isSeek === true) { + if (this.isSeek) { console.info('AVPlayer start to seek.'); this.avPlayer.seek(this.avPlayer.duration); //seek到视频末尾 } else { -- GitLab