Commit 13a73373 authored by 李维's avatar 李维

stop all audio when click speaker

parent 0563171e
...@@ -334,6 +334,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -334,6 +334,7 @@ export class PlayComponent implements OnInit, OnDestroy {
} }
element.playAudio = ()=>{ element.playAudio = ()=>{
this.g_cartoon.stopAllAudio()
this.g_cartoon.playAudio(element.audio) this.g_cartoon.playAudio(element.audio)
} }
......
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