Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Adding audio to your website with HTML5

Share this post!
 Vote this!



With all the furor around the HTML5 video element, the poor audio element sits in the background wondering what it’s done wrong to receive so little attention. So in an attempt to redress the balance, I’m going to show you how you can stream audio to your website visitors without any additional plugins.
As with the video element, in the past the only method of embedding audio files into a web page was to use Flash or another third-party plugin. There simply was no other way. With the introduction of the audio element, this has changed.


Browsers and file types
There are currently three different audio file types that are supported, and (of course) the different browsers each support different formats. The table below illustrates this:

0 comments:

Post a Comment