Book Image

HTML5 iPhone Web Application Development

By : Alvin Crespo
Book Image

HTML5 iPhone Web Application Development

By: Alvin Crespo

Overview of this book

<p>Create compelling web applications specifically tailored for distribution on iOS Safari. Work through real world examples with references, and in-depth discussions on the approach; including its benefits and drawbacks.<br /><br />"HTML5 iPhone Web Application Development" strives to teach all levels of developers, beginners and professionals, the process of creating web applications for iOS Safari. Utilizing current industry standards for frontend development, learn to take advantage of HTML5, CSS3 and JavaScript to create compelling software.<br /><br />Start with reviewing current industry standards for frontend development, and end with creating a native application using the same codebase.</p> <p>Your journey will begin with an overview of current industry standards for frontend technology, quickly moving to solve real world issues; from creating a resizable or responsive gallery, to creating a single page application that utilizes the popular Backbone.js framework.</p> <p>"HTML5 iPhone Web Application Development" aims to make you an expert in developing web applications for the iOS Safari platform.</p>
Table of Contents (17 chapters)
HTML5 iPhone Web Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. HTML5 Audio

In the previous chapter, we discussed the importance of media distribution and how HTML5 has changed the web in providing both audio and video content natively in the browser. We specifically went over the HTML5 Video implementation, but we also discussed the MediaElement specification, which covers common APIs that are used by both video and audio.

In this chapter, we go further into the specification and abstract it, making it reusable for audio and video. But before we get to that, we will discuss the server configuration with a simple example, and then move on to more advanced implementation with a dynamic audio player and customized controls.

In this chapter, we will learn about:

  • Integrating a simple HTML5 Audio example

  • Configuring our server

  • MediaElement abstraction

  • Extending the MediaElement API for audio

  • Creating a dynamic audio player

  • Customizing the audio controls