mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 21:25:24 +03:00
Fix portrait recordings on mobile
This commit is contained in:
parent
6f799869ef
commit
22f552f252
@ -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
|
||||
? () => {
|
||||
@ -112,9 +112,11 @@ export default function HlsVideoPlayer({
|
||||
<TransformComponent
|
||||
wrapperStyle={{
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
}}
|
||||
contentStyle={{
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
}}
|
||||
>
|
||||
<video
|
||||
|
||||
Loading…
Reference in New Issue
Block a user