Browse Source

iPhone fix

master
Roderic Day 5 years ago
parent
commit
2ee3d13211
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      apps/volume.js

+ 1
- 0
apps/volume.js View File

@@ -23,6 +23,7 @@ const VolumeMap = {
const dist3 = Math.max(Math.min(dist2, 1), 0)
video.style.opacity = dist3
video.volume = dist3
video.muted = !dist3 // iPhone does not allow graded volume
}
},
view() {

Loading…
Cancel
Save