From 663150f269e44e93274d898f21ad68ad59cd665c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Torjus=20H=C3=A5kestad?=
Date: Sat, 2 Dec 2023 13:33:50 +0100
Subject: [PATCH] Show text while waiting for video to load
---
src/js/media.tsx | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/src/js/media.tsx b/src/js/media.tsx
index 39b73bc..78966b5 100644
--- a/src/js/media.tsx
+++ b/src/js/media.tsx
@@ -10,6 +10,7 @@ type MediaContainerProps = {
type MediaContainerState = {
iceReady: boolean
remoteReady: boolean
+ videoReady: boolean
}
export class MediaContainer extends React.Component {
@@ -23,7 +24,8 @@ export class MediaContainer extends React.ComponentWaiting for remote.
}
- return (