Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS White Space in Video Element

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #294664
    Gks
    Participant

    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.

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.