News for hackers. Stuff that matters.
Re:Ask HN: What Are You Working On? (October 2024) by sovietswag on Monday October 28, 2024 @10:45AM (#41971525)
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; }

Re:Ask HN: What Are You Working On? (October 2024) by stereosteve on Monday October 28, 2024 @12:26PM (#41972975)
Thanks! I made this change.