Skip to content

Commit

Permalink
Fix portrait recordings on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Apr 5, 2024
1 parent 6f79986 commit 22f552f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/src/components/player/HlsVideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function HlsVideoPlayer({
return (
<TransformWrapper minScale={1.0}>
<div
className={`relative w-full ${className ?? ""} ${visible ? "visible" : "hidden"}`}
className={`relative ${className ?? ""} ${visible ? "visible" : "hidden"}`}
onMouseOver={
isDesktop
? () => {
Expand All @@ -112,9 +112,11 @@ export default function HlsVideoPlayer({
<TransformComponent
wrapperStyle={{
width: "100%",
height: "100%",
}}
contentStyle={{
width: "100%",
height: "100%",
}}
>
<video
Expand Down

0 comments on commit 22f552f

Please sign in to comment.