HTML and CSS Reference
In-Depth Information
CONTROLLING YOUR PLAYER
WITH JAVASCRIPT
So far, you've covered some heavy ground. You've
learned how to take the new <audio> and <video> ele-
ments and turn them into a reasonably supported solu-
tion that works on more web pages than today's Flash-
based players. Not bad for a bleeding-edge technology.
That's about the most you can do with the <audio> and
<video> elements if you stick to markup only. But both
elements have an extensive JavaScript object model,
which lets you control playback with code. In fact, you
can even adjust some details—like playback speed—that
aren't available in the browser's standard audio and
video players.
Search WWH ::




Custom Search