Chapter 9Multimedia: The
Up until this chapter, we've discussed using the
video elements with a single
src attribute. You may have noticed that this only works
part of the time, in some browsers, depending on the format of your file.
For true, cross-browser multimedia that works across browsers, you'll need
to use multiple
source elements, and multiple source
video elements for the examples in this
chapter, but most of what we'll discuss also applies to the
audio element. In order to serve multiple sources, you'll
need to have your media available in multiple formats. Refer to Chapter 6 for a couple of ways to do this.
source element lets us specify multiple, alternative media files ...