Hey everyone, I am trying to style html5 audio controls and add in a “play” image and a “pause” image.
The “play” image is default, but then I need the class to change when clicked so that the image changes to the “pause” image.
The default play image shows up fine, but when clicked, I cannot get the image to change to the pause version.
Can anyone spot what I’m forgetting with my code?
I’ve included everything in this codepen: http://codepen.io/anon/pen/sFvLj
It obviously doesn’t work on there, but at least you can see all my code nice and separated.
Thanks!