Basic HTML5 Audio Example with C&C/RedAlert unit sounds and songs.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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