diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-04-29 01:41:21 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-05-29 11:16:14 +0200 |
commit | ed540859f6fd43cb4cbb17149d7ca166c27aacb7 (patch) | |
tree | b139fb1accd7dae5716d0ba3e6b0abd718b4bff1 /src/frontend | |
parent | 925a727077c83002951cfb812a424a9ff8edb744 (diff) |
feat: improve video player styles
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/tubo/views/stream.cljs | 9 |
1 files changed, 4 insertions, 5 deletions
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 |