Skip to content

Enhance <audio> tag automatically

I'd like to have it work like this:

  1. I add a JS library to a web page
  2. I have <audio> elements in a web page.
  3. 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)
  4. All those <audio> elements are now beautiful!
Edited by boyska