Laytheme crops my 16:9 videos
-
wrote on Mar 23, 2022, 7:21 PM last edited by
I'm working on a new page and I noticed that my 16:9 videos were cropped automatically by Lay. I did a page with a screenshot of the video at the left i the video cropped by lay on the right to prove.
https://carlesrodrigo.es/videos/
Thank you
-
Dear @caromo
Thank you for the clear testing 👍
I recreated your video on my test site:You can see that if the video has enough room it will be the correct ratio but if needed it will crop to fit it's spacing within a Gridder Layout. I will forward to Armin to make sure this if this intended or not ✅
Best wishes & thank you for supporting Lay Theme @caromo ✨
Richard
-
wrote on Mar 24, 2022, 9:19 AM last edited by
Hey Richard, thank you for your quick reply.
In your test site I see both cases are cropped too.
I think this should be based on heigh not wide. If your put on a carrousel the same problem happens. And vertical videos too.
Thanks,
Carles -
Global Moderatorwrote on Apr 3, 2022, 9:40 AM last edited by Richard Apr 3, 2022, 5:40 AM
@caromo
Thanks for the update Carles & for your patience with the cropped videos 🌝
-
Dear Carles
@caromo
Lay Options > Custom CSS & HTML > Custom CSS >
.type-html5video video{ height:auto !important; }
Let me know if this works for you Carles as a temporary fix 🌝
Best
Richard
-
wrote on Apr 19, 2022, 12:35 PM last edited by
@Richard, thank you for your answer!
Well it works, but the space of the video is the same as before, so you can see under the video a blank space and the sound control is when it was placed without this code...
Is a bit weird...
-
hey!
so it seems that wordpress gets the wrong sizes for videos sometimes.
is there any way you can export that video again and use a different size, like the aspect ratio can stay the same but try and export the video with a different width, maybe a standard one like 1280px.
or try and convert the video somehow.i think the issue is with the video file itself.
-
wrote on May 2, 2022, 5:44 PM last edited by
Yes, something is happening with videos! I cropped with 1920x1080 and something happened! But a video from stock works well!
Don't understand at all... will search more info!
-
wrote on May 6, 2022, 8:13 AM last edited by
Hey,
First of all, thank you for your help... but yes the video was not correctly exported, so was our fault!
Sorry for the inconvenience.
Best!
-
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it