change volume of video using range input using jquery
问题 I'm trying to convert my JS code to JQuery because all my other code is in JQuery and for consistency, but I'm having trouble with the range inputs being updated upon changing value. I have the following html: <video width="400" height="225" id="video-1"> //sources... <p> Sorry, your browser does not support HTML5 video. </p> </video> <div id="video-controls"> <input type="range" id="volume" min="0" max="1" step="0.1" value="1"> </div> and am trying to change the volume like so: $('#volume')