HTML and CSS Reference
In-Depth Information
Appendix I. HTML next
This topic concentrates on how best to use the major features of HTML5 available in
browsers right now. In this appendix, we'll look at HTML5 capabilities that aren't yet final-
ized and are under heavy development in a browser's beta versions, such as video caption-
ing, media capture, and full-screen modes. You'll also learn about several proposed features
so you can plan for these features of the future web platform, such as peer-to-peer connectiv-
ity (for example, for video conferencing) and rotation lock (so that games on mobile devices
don't keep flipping between landscape and portrait modes).
Specifically, we'll cover the following:
• Accessing and sharing media
• Providing subtitling and captions for media
• Capturing mouse events outside the bounds of an element
• Expanding elements to full screen
• Measuring orientation to control animation
• Locking the pointer to the center of the screen.
I.1. Accessing and sharing media devices
Many devices where HTML5 is expected to be used come equipped with built-in cameras,
but until now you've needed to use Flash or write a native application to get access to them.
One of the goals of the HTML5 spec was to build an open application platform to replace
native apps in common use cases. With this in mind a W3C working group has been set up to
produce standards for real-time media access and communication (
04/webrtc/ ). The charter of this group specifically mentions six deliverables, summarized in
table I.1 alongside pointers for the features we'll discuss in this section.
Table I.1. Deliverables of the Web Real-Time Communications Working Group
Being worked on?
In this appendix?
API functions to explore device cap-
abilities; e.g., camera, microphone,
In scope for the Device APIs &
Policy Working Group
Not covered
Search WWH ::

Custom Search