Remove video re-play (likely cause of Fb looping)

This commit is contained in:
Max Goodhart
2020-08-28 22:24:59 -07:00
parent a1878b9f5b
commit 59b002f243

View File

@@ -340,7 +340,6 @@ const viewStateMachine = Machine(
video.muted = false
video.autoPlay = true
video.play()
setInterval(() => video.play(), 1000)
// Prevent sites from re-muting the video (Periscope, I'm looking at you!)
Object.defineProperty(video, 'muted', {writable: true, value: false})