Update player.js

This commit is contained in:
Anirudh Sevugan 2025-03-08 14:30:46 +05:30 committed by GitHub
parent 9f6ea484be
commit 3d791be85a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ document.addEventListener('DOMContentLoaded', () => {
// Update media volume when the slider is moved
volumeBar.addEventListener("input", function () {
mediaPlayer.volume = volumeSlider.value;
mediaPlayer.volume = volumeBar.value;
});
// Sync slider with media volume (in case it's changed programmatically)