function decrease() { if(video.volume > 0) video.volume += -.1; } function increase() { if(video.volume < 1) video.volume += .1; }