Commit 9bfc3246 authored by Li Mingzhe's avatar Li Mingzhe

feat: 音频调试

parent 630a1ae1
...@@ -553,9 +553,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -553,9 +553,7 @@ export class PlayComponent implements OnInit, OnDestroy {
this.randomAnswerIdArr(); this.randomAnswerIdArr();
setTimeout(() => {
this.clickSoundPlay();
}, 5000);
// this.initBall(); // this.initBall();
// //
// this.initLight(); // this.initLight();
...@@ -2078,9 +2076,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -2078,9 +2076,7 @@ export class PlayComponent implements OnInit, OnDestroy {
audio.hasEndedEvent = true; audio.hasEndedEvent = true;
} }
audio.pause(); audio.load();
audio.currentTime = 0;
audio.play(); audio.play();
} else { } else {
this.showPicSound(); this.showPicSound();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment