25.02.2013 Views

Peter Lubbers - Pro HTML 5 Programming

Pro HTML 5 Programming

Pro HTML 5 Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

278<br />

■ INDEX<br />

media elements. See also audio/Audio<br />

API; video/Video API<br />

attributes, 73–76<br />

declaring, 71–72<br />

types, 73<br />

understanding, 71–76<br />

media source files, 72–73<br />

media streaming, 68<br />

message events, 116, 119<br />

message processor function, 227<br />

MessageEvent interface, 120<br />

messageHandler function, 197<br />

messages, sending, with postMessage API,<br />

119<br />

messaging, cross document, 115–125<br />

Metadata content type, 10<br />

Microsoft Internet Explorer. See Internet<br />

Explorer<br />

mime.types file, 247<br />

min attribute, 178<br />

mod_pywebsocket, 147<br />

modifications, 33<br />

mouseover video playback, 85–86<br />

moveTo(x, y) function, 31, 36<br />

Mozilla Firefox. See Firefox<br />

muted attribute, 75<br />

■ N<br />

native functionality, 6<br />

navigator.onLine property, 247<br />

Nitro, 22<br />

noValidate attribute, 185<br />

■ O<br />

offline storage, 244<br />

offline web applications, 243–257<br />

browser support for, 245<br />

building application with, 250–257<br />

adding geolocation tracking code,<br />

255<br />

adding offline event handling, 256<br />

adding storage code, 256<br />

adding update button handler, 255<br />

check for ApplicationCache support,<br />

254<br />

creating <strong>HTML</strong> structure and CSS of<br />

the UI, 252<br />

creating manifest file, 251<br />

creating offline JavaScript, 252–254<br />

overview, 243–245<br />

using, 246–250<br />

applicationCache API, 248–250<br />

checking for browser support, 246<br />

creating simple offline application,<br />

246<br />

going offline, 247<br />

manifest files, 247–248<br />

oldValue attribute, 222<br />

onchange handler, 174<br />

One-shot position requests, 96–100<br />

online status, checking, 247<br />

onload handler, 44<br />

onmessage handler, 161

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!