jeudi 6 juin 2019

General function to play/pause all audio links

I have an html with a bunch of audio links. I am trying to make all of my audio links play/pause on click and I have tried the solution here. This is exactly what I am after, except that I am now stuck modifying this function to apply to all audio links in my code (since I cannot define one function per link). Ideas on how to do this?




Aucun commentaire:

Enregistrer un commentaire