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. Bug Reports
  3. 9:16 Video thumbnails cropped square

9:16 Video thumbnails cropped square

Scheduled Pinned Locked Moved Bug Reports
6 Posts 2 Posters 167 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.
  • Y Offline
    Y Offline
    yelmarb
    wrote on last edited by
    #1

    Hey Armin,

    I'm wanting to add 9:16 video thumbnails to my site but they're being automatically cropped to a 1:1 or square format.

    In the gridder, they display as 9:16 but on the website, they're cropped square.

    9:16 video is huge now as almost all social media videos are shot in a 9:16 format.

    Could you please fix this bug?

    Thank you!!!!

    Screenshot 2023-08-30 213638.jpg

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      hey there!

      this seems to be an issue happening again and again and i think its a wordpress issue, sometimes wordpress doesn't read out the dimensions of a video correctly

      can u post the link?

      Y 1 Reply Last reply
      0
      • arminunruhA arminunruh

        hey there!

        this seems to be an issue happening again and again and i think its a wordpress issue, sometimes wordpress doesn't read out the dimensions of a video correctly

        can u post the link?

        Y Offline
        Y Offline
        yelmarb
        wrote on last edited by
        #3

        @arminunruh Hey Armin, thank you so much for the speedy reply!

        Here's a screen grab of the 9:16 video in the gridder: Screenshot 2023-08-31 060943.jpg

        I'm not sure if this is a bug in WordPress because you can see that the frame is square in the gridder. When the video is published, it fills this square area. https://www.markbramley.com/9-16-bug

        If it is a bug in WordPress, is there any CSS code that I could implement to work around this issue?

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          Screenshot 2023-08-31 at 02.16.18.png

          yea just looking at the code i can see:
          width 1080px and height 1080px

          so wordpress reads out a wrong dimension

          you could add a class:
          portrait

          (in the gridder right click the element and click "set html class and id")

          then in lay options → custom css & html → custom css:

          .portrait .ph{
          padding-bottom: 177.77777777%!important;
          }
          

          lmk if that worked

          you could also try and somehow export the video differently, maybe use handbrake (free video app)

          Y 1 Reply Last reply
          0
          • arminunruhA arminunruh

            Screenshot 2023-08-31 at 02.16.18.png

            yea just looking at the code i can see:
            width 1080px and height 1080px

            so wordpress reads out a wrong dimension

            you could add a class:
            portrait

            (in the gridder right click the element and click "set html class and id")

            then in lay options → custom css & html → custom css:

            .portrait .ph{
            padding-bottom: 177.77777777%!important;
            }
            

            lmk if that worked

            you could also try and somehow export the video differently, maybe use handbrake (free video app)

            Y Offline
            Y Offline
            yelmarb
            wrote on last edited by yelmarb
            #5

            @arminunruh said in 9:16 Video thumbnails cropped square:

            .portrait .ph{
            padding-bottom: 177.77777777%!important;
            }

            Hey Armin,

            That has indeed worked, thank you very much!

            Just one thing though, and that is that the gridder will not allow the video thumbnail to be anything but square (when it's a 9:16 video). Is that a WordPress issue? Would be great if they can sort that out if so.

            Thanks again!

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

              @yelmarb said in 9:16 Video thumbnails cropped square:

              Just one thing though, and that is that the gridder will not allow the video thumbnail to be anything but square (when it's a 9:16 video). Is that a WordPress issue? Would be great if they can sort that out if so.

              yes

              yea thats just a fix for the frontend

              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