HTML and CSS Reference
In-Depth Information
Code check!
In the code download you'll find a working version of the code from this section in the file
index-9.html. There's also an index-10.html file, which includes the code from this section
as well as the Grayed and Framed functionality from the previous section we took out
to simplify the listings.
8.5. Summary
In this chapter you've learned how HTML5 makes it as straightforward a process to add
video and audio to web pages as it is to add images. You've taken the news of browser
incompatibilities in format support in stride and learned how to convert between video
formats, and you've learned how to control media elements with JavaScript. The added
bonus of having video within HTML5 is that you can use it as input for other content, in
particular the <canvas> element. You've also learned how to combine video with images
and, finally, how to combine it with live drawing. We hope that in addition to all the tech-
nical knowledge you've gained, you've also thought of ideas on how to incorporate media
within your web applications, as well as playing media on your page.
In the next chapter, you'll continue to learn about exciting visual effects you can create
with HTML5 as you learn about WebGL. The WebGL format allows you direct access to
the computer's graphics hardware from JavaScript, raising the possibility of implementing
real 3D games and data visualizations.
Search WWH ::




Custom Search