fix web remote volume slider, #317, cant run yarn start

This commit is contained in:
vapormusic 2022-02-09 19:23:40 +07:00
parent 63b1293903
commit 7f0b2da0be
3 changed files with 21 additions and 7 deletions

View file

@ -172,7 +172,7 @@
<div class="player-volume-glyph decrease"></div>
</div>
<div class="col">
<input type="range" class="web-slider volume-slider" :max="getVolumeMax()" min="0" step="0.01"
<input type="range" class="web-slider volume-slider" :max="player.maxVolume" min="0" step="0.01" :pseudo-value="getVolumeMax()"
@input="setVolume($event.target.value)" :value="player.currentMediaItem.volume">
</div>
<div class="col-auto">