volumeSlider.value = this.video.muted ? 0 : this.video.volume;
.progress-bar height: 100%; background: #f00; width: 0%; transition: width 0.1s linear; video player using javascript
volumeSlider.addEventListener('input', (e) => this.video.volume = parseFloat(e.target.value); this.updateVolumeIcon(); ); volumeSlider