[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>
This commit is contained in:
Samuel Newman
2024-09-16 21:37:33 +01:00
committed by GitHub
parent 38c8f01594
commit 8241747fc2
13 changed files with 1148 additions and 911 deletions
@@ -5,7 +5,7 @@ import Hls from 'hls.js'
import {atoms as a} from '#/alf'
import {MediaInsetBorder} from '#/components/MediaInsetBorder'
import {Controls} from './VideoWebControls'
import {Controls} from './web-controls/VideoControls'
export function VideoEmbedInnerWeb({
embed,