Jump to content

Changing video display dimensions with code

Recommended Posts

I'm trying to upload a vertical video ( 1080 x 1920 px) to my website, but the dimensions of the video display are in landscape mode, which make the video appear smaller. I've tried to change the display size with CSS code to make the video larger, but it usually only works for a while before breaking. 

Here is the code I'm using:

#block-yui_3_17_2_1_1709344059818_19042{
.sqs-native-video .native-video-player {
    padding-bottom: 100% !important;
}

 

Any help is appreciated!

Link to comment
  • Replies 3
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.