nodepa / seedlingo

Modern mobile multi-language literacy
https://seedlingo.com/
MIT License
2 stars 3 forks source link

fix: Stop instructor audio when answer audio starts playing #431

Open toshify opened 11 months ago

toshify commented 11 months ago

Describe the bug

In comprehension exercises, the instructor/HoneyBee audio continues to play simultaneously with audio for a selected answer when answering questions.

Steps to reproduce

  1. Go to /lesson/12, i.e. '家庭,家里有'
  2. Click on the continue button to get to the next stage
  3. While the Honey Bee is "talking", click any answer
  4. Observe that the audio of the proposed answer plays simultanously with the Honey Bee's "talking", and the Honey Bee's "talking" is not interrupted, paused or cancelled, but continues to play.

Expected behavior

The Honey Bee audio should stop playing before the audio of the proposed answer starts playing.

Environment