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 2. Integrating HTML5 Video

Media distribution is essential for any web application; delivering rich experiences that alter the user's perception. Many times we are asked to put a still image on a site, and other times we are asked to include video galleries that allow the user to switch videos easily through some sort of unique navigation. Previously, we were able to do this with Flash and other plugin based technologies, but with the wide support of HTML5 video, we now have the ability to deliver video without the condition of downloading a plugin.

One thing to keep in mind is that HTML5 video and audio share the same specification. This is because they are both considered a media element (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#media-element). What this means is that both video and audio share some attributes and methods, making it easier to implement them within our applications.

Either way, let's get going by learning how we can configure...