From 67b8c035bb587c5ae200e3e3390f4d6d2f467177 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Fri, 20 Mar 2020 22:46:06 +1100 Subject: [PATCH] Added playsinline to stop iphone video from fullscreening --- src/components/PartyVideo.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/PartyVideo.js b/src/components/PartyVideo.js index 0ab1f76..d0260e0 100644 --- a/src/components/PartyVideo.js +++ b/src/components/PartyVideo.js @@ -15,6 +15,7 @@ function PartyVideo({ stream, muted }) { autoPlay muted={muted} style={{ width: "100%", borderRadius: "4px", maxWidth: "500px" }} + playsinline /> ); }