From 800652c653684947e7394934bb06355ff07aac4b Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Sun, 10 Mar 2024 23:27:48 +0100 Subject: feat: add player duration control bar elements --- src/frontend/tubo/views/stream.cljs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/tubo/views/stream.cljs b/src/frontend/tubo/views/stream.cljs index 7ee00f8..147686f 100644 --- a/src/frontend/tubo/views/stream.cljs +++ b/src/frontend/tubo/views/stream.cljs @@ -40,8 +40,8 @@ (when-not resolution (str " " averageBitrate "kbit/s")))}) available-streams)) - player-elements ["playToggle" "progressControl" - "volumePanel" "playbackRateMenuButton" + player-elements ["playToggle" "CurrentTimeDisplay" "progressControl" + "DurationDisplay" "volumePanel" "playbackRateMenuButton" "QualitySelector" "fullscreenToggle"]] [layout/content-container [:div.flex.justify-center.relative @@ -50,7 +50,8 @@ {:sources sources :poster thumbnail-url :controls true - :controlBar {:children player-elements} + :controlBar {:volumePanel {:inline false} + :children player-elements} :preload "metadata" :responsive true :fill true -- cgit v1.2.3