Use the addEventListener() method to attach a "volumechange" event to a video element.
Video courtesy of Big Buck Bunny.
Try to change the volume.