In Chapter 7, I introduced the audio and video elements and demonstrated how they could be embedded into your HTML document using the native controls provided by the browser. In this chapter, you’ll use your own controls that are wired up to the audio and video elements through JavaScript. All of the DOM elements and events are available in JavaScript, so it’s a fairly straightforward process to create your own controls to work with the audio or video element. However, there are several facets that you’ll need to control, so it’s not a trivial exercise.
Overview
There ...