Przeglądaj źródła

iPhone fix

master
Roderic Day 5 lat temu
rodzic
commit
2ee3d13211
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      apps/volume.js

+ 1
- 0
apps/volume.js Wyświetl plik

@@ -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() {

Ładowanie…
Anuluj
Zapisz