3. Using Audio
Adding native audio to your web document using HTML5 multimedia couldn’t be easier. Whether you wanted to share sound snippets, voice recordings, or your own music with users on the Internet, the ability to do so was always available. But now you can share audio without having to rely on third-party plugins being installed.
Chapter 2 introduced you to the HTML5 elements and attributes that allow you to add audio to your web document. Now it’s time to explore how this is actually done. This chapter explains, with the aid of examples, how you can use these elements and attributes.
But let’s first take a brief look at the audio file formats that are available for use and how you might convert existing audio from one format to another ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access