Skip to content

Tangy-prompt-item empty sound no longer triggers the prompt-for sound queue #3838

@lachko

Description

@lachko

When there's no sound for tangy prompt but there is a prompt for setting it used to play the prompot for sounds in order. It no longer does this and stays stuck. You can see that the sounds are queued but they are not played.

I've workaround this right now by adding a blank sound to the prompt, if there is sound in theprompot the prompt-for sounds are also played.

This what you can see in network - no sounds are actually played.

Image

Code that used to work:

<tangy-radio-blocks name="syntax_03" label="" orientation="rows" class="" style="" not-demo-required="">
        
        <option value="1" style="background-color: transparent;" image="./assets/media/ms-talk3.png" sound="assets/media/syntax_q03a.mp3">a.	Kama mtihani kwa bidii, utafaulu ukisoma.</option>
        <option value="2" image="./assets/media/ms-talk3.png" sound="assets/media/syntax_q03b.mp3">b.	Kama utafaulu mtihani, ukisoma kwa bidi.</option>
        <option value="3" image="./assets/media/ms-talk3.png" sound="assets/media/syntax_q03c.mp3">c.	Kama ukisoma kwa bidii, utafaulu mtihani.</option>
        <option value="4" image="./assets/media/ms-talk3.png" sound="assets/media/syntax_q03d.mp3">d.	Kama kwa bidi mtihani, utafaulu ukisoma.</option>

      </tangy-radio-blocks>
      <tangy-prompt-box name="tangerineMan" class="" style="background: transparent;">
        <option id="instructions" value="0" image="./assets/media/instructions.png" sound="./assets/media/syntax_help.mp3">
        </option><option id="prompt" value="1" style="background-color: transparent;" image="./assets/media/ms-talk3.png" sound="" prompt-for="syntax_03" play-on-open="on">
      </option></tangy-prompt-box>

Edit to last line to make it work: image="./assets/media/ms-talk3.png" sound="./assets/media/blank.mp3" prompt-for="syntax_03" play-on-open="on"

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions