HTML and CSS Reference
8.2. Controlling videos with the HTMLMediaElement interface
Now that you have a video playing, let's start implementing the jukebox feature by allow-
ing users to select from a list of videos, which will appear alongside the <video> element
Figure 8.3. A video playing in IE9 selected from the playlist. The videos have been taken directly off of author Rob
Crowther's mobile phone, default names included.
Over the next two sections you'll work through five steps, writing code that allows you to
do the following:
• Step 1: Load a list of videos.
• Step 2: Start a video when selected.
• Step 3: Change between videos.
• Step 4: Use event handlers to handle the changing of video in greater detail.