Jump to content

How to display video in vertical format?

Go to solution Solved by tuanphan,

Recommended Posts

Posted (edited)
On 8/13/2022 at 9:18 AM, tuanphan said:

Try adding this to Design > Custom CSS to adjust ratio

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

 

Yeah, this totally worked for me. Here's my embed code... prob not clean, but it works:

<iframe height="1920" width="1080" src="https://www.youtube.com/embed/YOUTUBE-CODE=HERE?vq=hd2160&rel=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" .sqs-native-video .native-video-player {padding-bottom: 100% !important;} allowfullscreen></iframe>

Edited by DaveRizz
  • 3 weeks later...
Posted

Im in the middle of building my website atm, so its not public yet, but Im strugglign a bit to turn my video blocks into vertical videos. at least a vertical ratio of 9:16.

I've copy and pasted this code for custom css but nothing is changing and I get this message 

.video-block .video-player{
padding-bottom:115%
}
 

Screenshot 2024-05-15 at 9.11.32 PM.png

Posted
21 minutes ago, Sam0smith said:

You can use a video resizer and then add the video on to your website. You can use this online tool : https://clideo.com/resize-video you will be able to resize your video to any ratio that you need. 

Thank you for this but maybe I should have worded my post differently. I want to change the padding of the video block to a more vertical video since all the videos I'm uploading are vertical (edits made for social media) 

  • 1 month later...
Posted

I've brought this issue in the past and I am not sure if there are any considerations for this feature to be added sometime in the future.
I've been using Etsy and it has been way more helpful to sell on that platform than through SS. Mainly because its possible to upload videos in horizontal and vertical ratios, and this is important because sometimes people are able to make better buying choices by watching videos.

I have an advanced plan and only having the option to use Horizontal ratio for portrait videos and 30 minutes total length in video capacity is highly unacceptable.

  • 4 months later...
Posted

I've tried to test a couple of the codes provided here and paste them on the Custom CSS space with no luck....

I'm trying to display a vertical (9:16) video on my homepage but the player keeps on coming up in wide format:

TOR DIVIDE

(the video is on the left after scrolling a bit down)

 

Is anyone able to help please?

Posted

@tuanphan apologies for asking once again for your help, I tried to use this code:

#block-yui_3_17_2_1_1732718503241_10334.video-block .video-player {padding-bottom: 120% !important;}

to show a vertical video player for a video on this page: tordivide.co.uk

but without any luck 😞

Any chance you'd be able to help me?

Posted
10 hours ago, ValeTor said:

@tuanphan apologies for asking once again for your help, I tried to use this code:

#block-yui_3_17_2_1_1732718503241_10334.video-block .video-player {padding-bottom: 120% !important;}

to show a vertical video player for a video on this page: tordivide.co.uk

but without any luck 😞

Any chance you'd be able to help me?

You mean both videos on the page? And on desktop only?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

Hi @tuanphan no sorry I meant only the vertical video (on both desktop and mobile).

The second, horizontal, video is fine as it is, but the vertical one comes up very small and with an horizontal player which looks odd.

Ideally I'd like to extend the vertical video so that it takes more space vertically, without filling up the whole page horizontally (I hope that makes sense).
At the moment if I try to make the video bigger, I have to extend the horizontal player which takes the whole screen.

I think the block ID is yui_3_17_2_1_1732538986875_39500

image.thumb.png.6d34ff206bc5d07f2644dcf968d7898f.png

Posted
14 hours ago, ValeTor said:

Hi @tuanphan no sorry I meant only the vertical video (on both desktop and mobile).

The second, horizontal, video is fine as it is, but the vertical one comes up very small and with an horizontal player which looks odd.

Ideally I'd like to extend the vertical video so that it takes more space vertically, without filling up the whole page horizontally (I hope that makes sense).
At the moment if I try to make the video bigger, I have to extend the horizontal player which takes the whole screen.

I think the block ID is yui_3_17_2_1_1732538986875_39500

image.thumb.png.6d34ff206bc5d07f2644dcf968d7898f.png

Did you solve? It look already fine

image.thumb.png.8ad7a736982799fcee9f814cd73294cf.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.