Audio & Video


Commonly supported formats on the Web

MP3

  • In HTML: type="Audio/MP3"
  • Pros: Reduced file size, supports bit rates ranging from 32 to 320 kbps
  • Cons: Low audio quality

OGG

  • In HTML: type="Audio/OGG"
  • Pros: Superior audio quality with small file size
  • Cons: some audio players do not play OGG, Windows 10 cannot play .ogg audio

WAV

  • In HTML: type="Audio/Wav"
  • Pros: Supported on both Mac and Windows
  • Cons: Large size file

MP4

WebM

OGG

Media sources: