Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Laytheme crops my 16:9 videos

Laytheme crops my 16:9 videos

Scheduled Pinned Locked Moved General Discussion
11 Posts 3 Posters 204 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Richard
    Global Moderator
    wrote on Mar 24, 2022, 5:47 AM last edited by
    #2

    Dear @caromo

    Thank you for the clear testing 👍
    I recreated your video on my test site:

    https://rickei3.dreamhosters.com/video-crop-test/

    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
    1 Reply Last reply
    0
    • C Offline
      C Offline
      caromo
      wrote on Mar 24, 2022, 9:19 AM last edited by
      #3

      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

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Richard
        Global Moderator
        wrote on Apr 3, 2022, 9:40 AM last edited by Richard Apr 3, 2022, 5:40 AM
        #4
        @caromo

        Thanks for the update Carles & for your patience with the cropped videos 🌝

        1 Reply Last reply
        0
        • C Offline
          C Offline
          caromo
          wrote on Apr 14, 2022, 11:24 AM last edited by
          #5

          Hey @Richard still not conclusion with this?

          Thank you so much,
          Carles

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Richard
            Global Moderator
            wrote on Apr 16, 2022, 4:40 AM last edited by
            #6

            Dear Carles

            @caromo

            Please insert this code into:
            Screen Shot 2021-11-10 at 2.05.24 PM.png

            Lay Options > Custom CSS & HTML > Custom CSS >

            .type-html5video video{
                height:auto !important;
            }
            

            Result:
            Screen Shot 2022-04-16 at 4.33.10 PM.png

            Let me know if this works for you Carles as a temporary fix 🌝


            Best
            Richard
            1 Reply Last reply
            0
            • C Offline
              C Offline
              caromo
              wrote on Apr 19, 2022, 12:35 PM last edited by
              #7

              @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...

              https://carlesrodrigo.es/videos/

              1 Reply Last reply
              0
              • A Offline
                A Offline
                arminunruh
                Global Moderator
                wrote on Apr 27, 2022, 2:44 PM last edited by
                #8

                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.

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  caromo
                  wrote on May 2, 2022, 5:44 PM last edited by
                  #9

                  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!

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    caromo
                    wrote on May 6, 2022, 8:13 AM last edited by
                    #10

                    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!

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Richard
                      Global Moderator
                      wrote on May 10, 2022, 9:13 PM last edited by
                      #11

                      Thank you for coming back and updating @caromo have a wonderful day 🌻


                      Best
                      Richard
                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      I also code custom websites or custom Lay features.
                      💿 Email me here: 💿
                      info@laytheme.com

                      Before you post:
                      1. When using a WordPress Cache plugin, disable it or clear your cache.
                      2. Update Lay Theme and all Lay Theme Addons
                      3. Disable all Plugins
                      4. 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:
                      1. Post a link to where the problem is
                      2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                      3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                      Online Users
                      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                      laytheme.com
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search