fix ios live mode

This commit is contained in:
Warunee Tamkoo 2026-05-07 16:22:58 +07:00
parent 7ae3f0a557
commit 9efac056e9
2 changed files with 23 additions and 0 deletions

View file

@ -890,6 +890,8 @@ watch(
:resolution="{ width: photoWidth, height: photoHeight }"
ref="camera"
:autoplay="false"
:playsinline="true"
:facingMode="'user'"
:style="!img ? 'display: block' : 'display: none'"
/>
@ -1004,6 +1006,8 @@ watch(
}"
ref="camera"
:autoplay="false"
:playsinline="true"
:facingMode="'user'"
:style="!img ? 'display: block' : 'display: none'"
/>
@ -1513,6 +1517,15 @@ watch(
height: 100%;
}
/* iOS-specific video fixes */
.card-container video,
.card-container-xs video {
width: 100%;
height: 100%;
object-fit: cover;
-webkit-object-fit: cover;
}
.bg-topOut {
background: rgb(39, 50, 56);
background: linear-gradient(