From 0f27fc78151bf9d9449740d3bd08d1a0589d7837 Mon Sep 17 00:00:00 2001 From: Korbs Date: Tue, 3 Dec 2024 15:55:20 -0500 Subject: [PATCH] Add more toggle options --- src/Controls.astro | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/Controls.astro b/src/Controls.astro index 3ebde7d..99a9dde 100644 --- a/src/Controls.astro +++ b/src/Controls.astro @@ -1,12 +1,21 @@ --- // Properties const { + // Meta Title, + PlayerName, + SeekColor = '#2185d0', + + // Type Live, + + // Toggles ShowBackAndForward, ShowPlaybackRate, - SeekColor = '#2185d0', - PlayerName, + ShowPiP = true, + ShowFullscreen = true, + + // OThers Subtitles } = Astro.props @@ -19,7 +28,8 @@ import './Styles/Iconoir.css'
-

{Title}

+
{Title ?

{Title}

: null}
+

Buffering...

@@ -63,18 +73,12 @@ import './Styles/Iconoir.css' }
- {Live ? - - Live - : - null - } + {Live ? Live:null} - - + {ShowPiP ? : null} {Subtitles ? : null} - {ShowPlaybackRate ? : null} - + {ShowPlaybackRate ? : null} + {ShowFullscreen ? : null}
\ No newline at end of file