Enhance <audio> tag automatically
I'd like to have it work like this:
- I add a JS library to a web page
- I have
<audio>
elements in a web page. - I have some code like
blackoutPodcast.doTheMagic(document.querySelector('audio'))
(it might be the case that there are some audio tags on which I do not want this UI, so I don't want this library to be too smart and do everything automatically) - All those
<audio>
elements are now beautiful!
Edited by boyska