From 341204d73fdebf043db022bbf79551a976bb67b9 Mon Sep 17 00:00:00 2001 From: Evan Shortiss Date: Thu, 12 Oct 2023 14:30:10 -0700 Subject: [PATCH] chore: add comments explaining certain components --- roshambo-ui/src/CaptureVideo.tsx | 12 +++++++++++- roshambo-ui/src/HeightWrapper.tsx | 8 ++++++++ roshambo-ui/src/LandscapeBlocker.tsx | 6 ++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/roshambo-ui/src/CaptureVideo.tsx b/roshambo-ui/src/CaptureVideo.tsx index 096f3fc..5e475df 100644 --- a/roshambo-ui/src/CaptureVideo.tsx +++ b/roshambo-ui/src/CaptureVideo.tsx @@ -10,10 +10,20 @@ function isMobileDevice () { return navigator.userAgent.match(/ipod|ipad|iphone|android/gi) } +/** + * This component renders a video feed captured from the user's camera on screen + * using the