Hacker News new | ask | show | jobs
by sovietswag 602 days ago
Random tip... I noticed the volume sliders only take effect when you stop dragging the knob. You can use the 'oninput' event for the slider to set its value as the user moves it around. Something like:

volume_slider.oninput = function() { audio.volume = volume_slider.value; }

1 comments

Thanks! I made this change.