Video pane not centering

I have a test video using EasyHTML5Video on this page.
It is fine at reduced width browser but it seems to be to the left when the desktop browser is expanded.

I have just placed the code provided from EasyHTML5Video into a markup item on the Freeway page .

What have I done wrong?

Thanks.

https://trevormckay.co.uk/BURNS/


freewaytalk mailing list
email@hidden
Update your subscriptions at:

The video has a “natural width” and it won’t expand beyond that size. You could set it to center within the given space, or you could let it expand indefinitely. Let me see if I can spot why that is…

Okay, you’ve set a max-width on the video div:

<div class="easyhtml5video" style="position:relative;max-width:1280px;">
...
</div>

If you take away that property from the styles on div#easyhtml5video, then the video should be able to grow to any size. Note that it will be reduced quality at that larger size, because pixels are scaled up and get mushy.

Walter

On Jan 20, 2021, at 11:30 AM, t50ufo email@hidden wrote:

I have a test video using EasyHTML5Video on this page.
It is fine at reduced width browser but it seems to be to the left when the desktop browser is expanded.

I have just placed the code provided from EasyHTML5Video into a markup item on the Freeway page .

What have I done wrong?

Thanks.

https://trevormckay.co.uk/BURNS/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thanks so much for the fast reply.

I will give that a go.

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:

OK I think I would prefer to have the video just ctr. on the available space. With padding applied the container it is 972 px wide. When I change the markup to 972px (from 1280 px) the preview is showing the video container even more to the left when I expand the browser.

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Right. You need to add margin-left: auto and margin-right: auto to your video container, that might be enough to do it. There’s quite a layer-cake of DIVs in there, you may need to do the same on another layer up, but I’m going from memory here.

Walter

On Jan 20, 2021, at 12:31 PM, t50ufo email@hidden wrote:

OK I think I would prefer to have the video just ctr. on the available space. With padding applied the container it is 972 px wide. When I change the markup to 972px (from 1280 px) the preview is showing the video container even more to the left when I expand the browser.

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options