This example uses the HTML DOM to assign an "onvolumechange" event to a video element.
Try to change the volume in the bottom right corner.
Video courtesy of Big Buck Bunny.