Use the HTML DOM to assign an "onvolumechange" event to a video element.
Video courtesy of Big Buck Bunny.
Try to change the volume.