Backport pull request #5740 from jellyfin-web/release-10.9.z
Don't change volume if it is physically controlled Original-merge: e0a0c92b43b53a5bba1aaeacf2a9e7e3215d0f16 Merged-by: thornbill <thornbill@users.noreply.github.com> Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
committed by
Bill Thornton
parent
c5b338dc64
commit
59db69227b
@@ -263,7 +263,10 @@ class HtmlAudioPlayer {
|
||||
document.body.appendChild(elem);
|
||||
}
|
||||
|
||||
elem.volume = htmlMediaHelper.getSavedVolume();
|
||||
// TODO: Move volume control to PlaybackManager. Player should just be a wrapper that translates commands into API calls.
|
||||
if (!appHost.supports('physicalvolumecontrol')) {
|
||||
elem.volume = htmlMediaHelper.getSavedVolume();
|
||||
}
|
||||
|
||||
self._mediaElement = elem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user