mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 14:19:39 +00:00
Update player.js
This commit is contained in:
parent
9f6ea484be
commit
3d791be85a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user