Audio doesnt play when i do my flashcards

hi there

I am learning german from the DW nico course. ive found a way to import the audio clips from the vocabulary section into anki but when i do the flashcards, the audio doesnt play.

The MP3 files are there in the collection.media folder and they play when i click on them but they dont play with the flashcards themselves. how do i fix this?

thanks in advance.

Did you also –

  • Attach the audio file in a field of your note (preferably a field of its own)? – That would show up as a [sound:filename.mp3]tag. Media - Anki Manual
  • Add a {{field replacement}} for that field to your card template? Field Replacements - Anki Manual
1 Like

Yes, i attached the audio file in its own field.

what does adding {{field replacement}} do?

Did you read the link I gave you?

1 Like

i dont understand it completely.

You put your data in the fields of a note. Then Anki uses your instructions – card types (templates) that are part of the note type – to make cards from that note. It will only show a field on the front/back of a card if you’ve given that instruction. That’s what a {{field replacement}} does on a card template.

If you look at your templates for this note type, you’ll see other field replacements, but you need to add one for this audio field if you want it to be part of the card.

1 Like

like this?

No. You are looking at your Notes, but you want to look at your Card Templates instead. You need to add the field replacements to your card templates, not your notes.

  1. In the window shown in your screenshot, at the top right, click on the “Cards…” button. (This will cause the Card Templates window to appear.)
  2. In the card templates window, edit the Front or Back template (or both), depending on what side you want the audio to play.
  3. From looking at the note in your screenshot, your audio field is named “audio”. So, your field replacement will be “{{audio}}”.
  4. Add “{{audio}}” to the card template where you want the audio to appear on the card.
1 Like

Thank you very much