HTML5 Audio/Video formats

So what is HTML5? What are the specs for audio and video?

Here is a good introduction
and for html5 audio

We can add an <audio> tag to our html

<audio controls="controls">
  <source src="/horse.ogg" type="audio/ogg">
  <source src="/horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.

Instead of "Your browser does not support the audio element." we will use javascript to run the player and provide a flash fallback if the browser does not support our media.

MyMuse uses JPlayer They have a list on browser support for various file types:

Also, read about essential formats:

and media encoding: