HTML and CSS Reference
In-Depth Information
Figure 11-6 The new Seek bar.
Next, you tackle the volume control.
Creating the Volume Control
The Volume control also uses a slider. This time it is hooked up to an event listener that manipulates the video's
volume property. The value of the volume property should be a number between 0 and 1.
The code in this exercise can be found in folder 9.
Here are the steps for creating a volume control:
1. Open the about.html file.
Search WWH ::




Custom Search