# The cloze cards repeat the audio once more when the gap answer is shown

**URL:** <https://forums.ankiweb.net/t/the-cloze-cards-repeat-the-audio-once-more-when-the-gap-answer-is-shown/32386>\
**Category:** Help\
**Created:** [July 23, 2023, 9:31am UTC](https://forums.ankiweb.net/t/the-cloze-cards-repeat-the-audio-once-more-when-the-gap-answer-is-shown/32386 "2023-07-23T09:31:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zendi](https://avatars.discourse-cdn.com/v4/letter/z/c5a1d2/32.png) [@Zendi](https://forums.ankiweb.net/u/Zendi)\
**Post date:** [July 23, 2023, 9:31am UTC](https://forums.ankiweb.net/t/the-cloze-cards-repeat-the-audio-once-more-when-the-gap-answer-is-shown/32386/1 "2023-07-23T09:31:10Z")

</div>

On the front side of the cloze card the audio is playing, so I have to guess the answer. When I click “show the answer”, the audio plays again.

Would someone please tell me how to configure the cloze card to play the audio only once (on the front side)?

 ![Front](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/2/2371ee47f46e4453d576f90b6648f08bbc18e247.jpeg)  
 ![Back](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/d/d06fd128bb36d65ea41a6ad612c2e7429bc7f8c6.jpeg)

---

<div class="post-metadata">

**Author:** ![jcznk](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/jcznk/32/15215_2.png) [@jcznk](https://forums.ankiweb.net/u/jcznk)\
**Post date:** [July 23, 2023, 9:42am UTC](https://forums.ankiweb.net/t/the-cloze-cards-repeat-the-audio-once-more-when-the-gap-answer-is-shown/32386/2 "2023-07-23T09:42:06Z")

</div>

Would you please post a screenshot of the Front and Back card **templates**?

---

<div class="post-metadata">

**Author:** ![Zendi](https://avatars.discourse-cdn.com/v4/letter/z/c5a1d2/32.png) [@Zendi](https://forums.ankiweb.net/u/Zendi)\
**Post date:** [July 23, 2023, 10:03am UTC](https://forums.ankiweb.net/t/the-cloze-cards-repeat-the-audio-once-more-when-the-gap-answer-is-shown/32386/3 "2023-07-23T10:03:09Z")

</div>

Sure

 ![Front Template](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/c/c56b2453d7de59d1624358add985dd06478529bc.jpeg)  
 ![Back Template](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/2/24c04da4fdc85deb55e9a73720834c6f622ff9da.jpeg)

---

<div class="post-metadata">

**Author:** ![jcznk](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/jcznk/32/15215_2.png) [@jcznk](https://forums.ankiweb.net/u/jcznk)\
**Post date:** [July 23, 2023, 10:29am UTC](https://forums.ankiweb.net/t/the-cloze-cards-repeat-the-audio-once-more-when-the-gap-answer-is-shown/32386/4 "2023-07-23T10:29:37Z")

</div>

Thanks!

As far as I remember, there is no built in way to prevent an audio file from playing again after flipping the card, if the Back template also has the field containing the audio file reference.

Maybe you could try one of these workarounds:

1. Create a new field and move all the audio files/references to it. Include this new field in the Front template only. E.g.  

2. [Hacky solution] add this code to the Back template. It will prevent the automatic reprodution of **any** audio file on the back side of the card.

```auto
<div id="audioDecoy" hidden>[sound:silence.mp3]</div>

<script>
    var blockAudio = document.querySelector('#audioDecoy .replay-button');
    if (blockAudio) { blockAudio.click(); }
</script>

```

---

<div class="post-metadata">

**Author:** ![Zendi](https://avatars.discourse-cdn.com/v4/letter/z/c5a1d2/32.png) [@Zendi](https://forums.ankiweb.net/u/Zendi)\
**Post date:** [July 23, 2023, 12:01pm UTC](https://forums.ankiweb.net/t/the-cloze-cards-repeat-the-audio-once-more-when-the-gap-answer-is-shown/32386/5 "2023-07-23T12:01:27Z")

</div>

It worked! Thank you very much!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [August 22, 2023, 12:02pm UTC](https://forums.ankiweb.net/t/the-cloze-cards-repeat-the-audio-once-more-when-the-gap-answer-is-shown/32386/6 "2023-08-22T12:02:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
