mrtunes — 2011-10-28T12:37:44-04:00 — #1
i'm wondering how you can override the controls of the html5 audio tag, without using a 3rd party script? i dont like how enabling the controls will lead to 6 different designs for the various browsers.
sdleihssirhc — 2011-10-28T17:10:40-04:00 — #2
What do you mean by "without using 3rd party script"? In order to have the controls show up, you have to explicitly tell the browser to do so...
<audio controls />
...so if you don't want those disparate controls showing up, don't set the "controls" attribute.
Are you sure you don't want to use something like audio.js? You'll save yourself a lot of headaches.
mrtunes — 2011-10-28T18:57:41-04:00 — #3
thanks this is helpful. by third party i meant something like jplayer or the cool one you linked to (never saw that before).
sdleihssirhc — 2011-10-28T19:20:47-04:00 — #4
In my opinion, it's not worth it, because there are so many different bugs and edge cases you'd have to allow for.
Also, if you choose a good HTML-based <audio> player (such as, ahem, audio.js), you can style the player however you'd like just using simple CSS.