Autoplay all audio on front of card, but not back?

Why use .click() anyways? Is there any advantage to just using .play() (which works fine for ankidroid and desktop)? I did help another user once set it up in Conditional Audio Playback - #27 by Anon_0000 so I do have some experience with .play().

So it should be possible to play all audios using a loop after grabing them with something like a .querySelector. The only thing that might be an issue is waiting for audio #1 to finish playing before audio #2 is played. Though I assume it should be solveable with HTMLMediaElement: ended event - Web APIs | MDN.

1 Like