From 8241747fc22bb4363ff6cf48d54013cc72db7624 Mon Sep 17 00:00:00 2001
From: Samuel Newman <mozzius@protonmail.com>
Date: Mon, 16 Sep 2024 21:37:33 +0100
Subject: [Video] Volume controls on web (#5363)

* split up VideoWebControls

* add basic slider

* logarithmic volume

* integrate mute state

* fix typo

* shared video volume

* rm log

* animate in/out

* disable for touch devices

* remove flicker on touch devices

* more detailed comment

* move into correct context provider

* add minHeight

* hack

* bettern umber

---------

Co-authored-by: Hailey <me@haileyok.com>
---
 src/view/com/util/post-embeds/ActiveVideoWebContext.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/view/com/util/post-embeds/ActiveVideoWebContext.tsx')

diff --git a/src/view/com/util/post-embeds/ActiveVideoWebContext.tsx b/src/view/com/util/post-embeds/ActiveVideoWebContext.tsx
index bc43e997c..a038403b2 100644
--- a/src/view/com/util/post-embeds/ActiveVideoWebContext.tsx
+++ b/src/view/com/util/post-embeds/ActiveVideoWebContext.tsx
@@ -18,7 +18,7 @@ const Context = React.createContext<{
 
 export function Provider({children}: {children: React.ReactNode}) {
   if (!isWeb) {
-    throw new Error('ActiveVideoWebContext may onl be used on web.')
+    throw new Error('ActiveVideoWebContext may only be used on web.')
   }
 
   const [activeViewId, setActiveViewId] = useState<string | null>(null)
-- 
cgit 1.4.1

