Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Basic HTML5 Audio Example with C&C/RedAlert unit sounds and songs.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
files
README.md
bootstrap.js
index.html

README.md

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.