Help with a Volume Slider to control Audio Volume

This CODE here is OK and everything works like a charm! ( TESTED )

$w.onReady(function(){
    $w("#slider1").onChange( (event) => {
        let newValue = event.target.value; // "new value"
        $w("#audioPlayer1").volume = newValue;
    });
});

https://www.media-junkie.com/blank-6 (Link will loose its functionality in few days!)