From ed540859f6fd43cb4cbb17149d7ca166c27aacb7 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Mon, 29 Apr 2024 01:41:21 +0200 Subject: feat: improve video player styles --- src/frontend/tubo/views/stream.cljs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/tubo/views/stream.cljs b/src/frontend/tubo/views/stream.cljs index 0014a85..f2bb780 100644 --- a/src/frontend/tubo/views/stream.cljs +++ b/src/frontend/tubo/views/stream.cljs @@ -40,9 +40,9 @@ (when-not resolution (str " " averageBitrate "kbit/s")))}) available-streams)) - player-elements ["playToggle" "CurrentTimeDisplay" "progressControl" - "DurationDisplay" "volumePanel" "playbackRateMenuButton" - "QualitySelector" "fullscreenToggle"]] + player-elements ["PlayToggle" "ProgressControl" "VolumePanel" "CurrentTimeDisplay" + "TimeDivider" "DurationDisplay" "Spacer" "PlaybackRateMenuButton" + "QualitySelector" "FullscreenToggle"]] [layout/content-container [:div.flex.justify-center.relative {:class "h-[300px] md:h-[450px] lg:h-[600px]"} @@ -50,8 +50,7 @@ {:sources sources :poster thumbnail-url :controls true - :controlBar {:volumePanel {:inline false} - :children player-elements} + :controlBar {:children player-elements} :preload "metadata" :responsive true :fill true -- cgit v1.2.3