fix ios live mode
This commit is contained in:
parent
7ae3f0a557
commit
9efac056e9
2 changed files with 23 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue