Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 463 Bytes

Easy Mode HTML5 Audio Example

This is an example of how to implement HTML5's audio element.

Run index.html in your browser (you don't need a web server running for this example)

Lessons Learned

  • Firefox can play ogg and mp3
  • Safari can't play ogg but can play mp3
  • Chrome has some weird performance issues with spam clicking audio elements
  • Chrome can play both ogg and mp3
  • Internet Explorer is lol
Something went wrong with that request. Please try again.