diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-08-21 01:56:05 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-08-21 01:56:05 +0200 |
commit | e00e9264f78343addb694b3ac8fb8939cfcfec37 (patch) | |
tree | 4a3d8b5df26b49314979424bb5776ee34763fe26 /src | |
parent | c1380e39ba1ad3246555ad5249a38a9343af57c3 (diff) |
fix(frontend): Fix player height responsiveness
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/tubo/views/stream.cljs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/frontend/tubo/views/stream.cljs b/src/frontend/tubo/views/stream.cljs index e3a7e7d..e3a0222 100644 --- a/src/frontend/tubo/views/stream.cljs +++ b/src/frontend/tubo/views/stream.cljs @@ -28,12 +28,14 @@ [:div.w-full.pb-4.relative {:class "ml:w-4/5 xl:w-3/5"} [navigation/back-button service-color] [:div.flex.justify-center.relative - {:class "ml:h-[450px] lg:h-[600px]"} + {:class "h-[350px] ml:h-[450px] lg:h-[600px]"} (when stream-format [player/stream-player {"sources" [{"src" content "type" "video/mp4"} {"src" content "type" "video/webm"}] "poster" thumbnail-url - "controls" true} + "controls" true + "responsive" true + "fill" true} content])] [:div.px-4.ml:p-0 [:div.flex.flex.w-full.mt-3 |