When the video loads the first time, the size is as in image 1. When i press the switch camera button, Then the white space is filled . After that white spaces between boundary and video doesn’t come on successive switching.
Image 1
Image 2
Image 3
.profileVideo
{
position: relative;
/* width: auto!important; — this is for page alignment */
width: 25%;
bottom: 0;
right: 0;
height: 75%;
z-index: 10;
}
.profileVideoBack {
transform: Scale(-1,1);
left: 0.5em;
}
.profileVideo video {
/* position: absolute;
border-radius: 1em; /
transform: scaleX(-1);
width: 103%;
height:19%;
/ bottom: 5%; /
border : 5px black solid;
position: relative;
/ width: auto!important; */
}
I would appreciate any help or guidance towards the same.