What is the proper way to display videos like graphics?

They have: 9 posts

Joined: Sep 2014

Most often I display the videos on my webpages like I do with graphics by resizing them to fit to the left side or right side of the page. The code I have been using does this for me and works fluently with the fluid layout. My question is does anyone know how to improve this flow?

What I mean by this is the videos that I display full page reduce in size better with the various screen sizes than do the ones I have resized to the left or right of the pages. What happens is that when the page begins to reduce the video covers up part of the text to the left or right until it fully reaches the next screen size. There is a portion of space between the standard desktop screen reducing to the tablet size where the video does not reduce quickly enough and covers the text.

Does anyone know if this is fixable? Or how do I fix it?

Here is the code that I have been using. The videos display the same for me whether I use the wrapper or not so maybe I am not doing this correctly?

.videoWrapper  {
position: relative;
    width: 100%; }
   
.video-right {
float: right;
width: 45%;
    top: 0;
    right: 0;
margin-left: 1em;
    font-size: .8em;
    text-align: center;
    background-color: rgba(189, 189, 189, .80);
    border: groove 7px #000000;}

.video-left {
float: left;
width: 45%;
    top: 0;
    left: 0;
margin-right: 1em;
    font-size: .8em;
    text-align: center;
    background-color: rgba(189, 189, 189, .80);
    border: groove 7px #000000;} 

They have: 67 posts

Joined: Jan 2016

isarbjitgrewal's picture

They have: 8 posts

Joined: May 2017

Thank you, I am using this guide for integrating videos by ncerminara.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.