提交 86c8232a 编写于 作者: X xxb-wzy

Signed-off-by: xxb-wzy <xuxiaobo5@huawei.com>

Change-Id: Ide6a0712f0b3b9f0d80e97d800fe5c1880aa90e9
上级 232f590a
......@@ -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 {
......
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册