mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Partial fix for movies and TV shows
Updates volume correctly as you slide back and forth, but does not change icon to mute when at 0 or update bar length. Has no impact on music playback.
This commit is contained in:
parent
35761ae49b
commit
55aeb42179
1 changed files with 2 additions and 1 deletions
|
@ -849,6 +849,7 @@ define(["playbackManager", "dom", "inputmanager", "datetime", "itemHelper", "med
|
|||
nowPlayingVolumeSliderContainer.classList.add("hide");
|
||||
}
|
||||
|
||||
// TODO: Find out why this is causing the slider to not update properly
|
||||
if (!nowPlayingVolumeSlider.dragging) {
|
||||
nowPlayingVolumeSlider.value = volumeLevel || 0;
|
||||
}
|
||||
|
@ -1247,7 +1248,7 @@ define(["playbackManager", "dom", "inputmanager", "datetime", "itemHelper", "med
|
|||
view.querySelector(".buttonMute").addEventListener("click", function () {
|
||||
playbackManager.toggleMute(currentPlayer);
|
||||
});
|
||||
nowPlayingVolumeSlider.addEventListener("change", function () {
|
||||
nowPlayingVolumeSlider.addEventListener("mousemove", function () {
|
||||
playbackManager.setVolume(this.value, currentPlayer);
|
||||
});
|
||||
nowPlayingPositionSlider.addEventListener("change", function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue