HFP-1145 Fix always stop playing on play
parent
ca4d37c85c
commit
e5ce754c92
|
@ -264,6 +264,9 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
|
|||
counter.increment();
|
||||
});
|
||||
card.on('audioplay', function () {
|
||||
if (audioCard) {
|
||||
audioCard.stopAudio();
|
||||
}
|
||||
audioCard = card;
|
||||
});
|
||||
card.on('audiostop', function () {
|
||||
|
|
Loading…
Reference in New Issue