未验证 提交 22700dac 编写于 作者: O openharmony_ci 提交者: Gitee

!18113 修复资料review意见

Merge pull request !18113 from XUXIAOBO/master20230511
...@@ -104,7 +104,7 @@ export class AVPlayerDemo { ...@@ -104,7 +104,7 @@ export class AVPlayerDemo {
case 'playing': // play成功调用后触发该状态机上报 case 'playing': // play成功调用后触发该状态机上报
console.info('AVPlayer state playing called.'); console.info('AVPlayer state playing called.');
if (this.count !== 0) { if (this.count !== 0) {
if (this.isSeek === true) { if (this.isSeek) {
console.info('AVPlayer start to seek.'); console.info('AVPlayer start to seek.');
this.avPlayer.seek(this.avPlayer.duration); //seek到音频末尾 this.avPlayer.seek(this.avPlayer.duration); //seek到音频末尾
} else { } else {
......
...@@ -115,7 +115,7 @@ export class AVPlayerDemo { ...@@ -115,7 +115,7 @@ export class AVPlayerDemo {
case 'playing': // play成功调用后触发该状态机上报 case 'playing': // play成功调用后触发该状态机上报
console.info('AVPlayer state playing called.'); console.info('AVPlayer state playing called.');
if (this.count !== 0) { if (this.count !== 0) {
if (this.isSeek === true) { if (this.isSeek) {
console.info('AVPlayer start to seek.'); console.info('AVPlayer start to seek.');
this.avPlayer.seek(this.avPlayer.duration); //seek到视频末尾 this.avPlayer.seek(this.avPlayer.duration); //seek到视频末尾
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册