Maniola Posted August 11, 2022 Share Posted August 11, 2022 Site URL: https://www.clipsk.com/test I'm trying to embed or upload videos displayed in vertical / 9:16 aspect ratio but I can't find a way to make it work. The video block always shows up in standard widescreen format. If I use an embed block and define aspect ratio in pixels in the embed code, the video flows outside of the container/block. https://www.clipsk.com/test Link to comment
tuanphan Posted August 13, 2022 Share Posted August 13, 2022 Try adding this to Design > Custom CSS to adjust ratio .sqs-native-video .native-video-player { padding-bottom: 100% !important; } PaulineW, tanyacamp, Maniola and 1 other 4 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Maniola Posted August 16, 2022 Author Share Posted August 16, 2022 Thank you @tuanphan – this did the trick for uploaded/native Squarespace video! Is it possible to do a similar solution for embedded videos? Link to comment
tuanphan Posted August 20, 2022 Share Posted August 20, 2022 On 8/16/2022 at 4:56 PM, Maniola said: Thank you @tuanphan – this did the trick for uploaded/native Squarespace video! Is it possible to do a similar solution for embedded videos? Can you share link to page where you use embed video? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Maniola Posted August 23, 2022 Author Share Posted August 23, 2022 @tuanphan Yes! There are examples in both classic editor and fluid engine on this page: https://www.clipsk.com/test Link to comment
tuanphan Posted August 24, 2022 Share Posted August 24, 2022 18 hours ago, Maniola said: @tuanphan Yes! There are examples in both classic editor and fluid engine on this page: https://www.clipsk.com/test Try this CSS .fe-block .embed-block iframe { width: 100% !important; height: 350px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Faten Posted August 28, 2022 Share Posted August 28, 2022 On 8/13/2022 at 5:18 PM, tuanphan said: Try adding this to Design > Custom CSS to adjust ratio .sqs-native-video .native-video-player { padding-bottom: 100% !important; } can you apply this to certain videos? when i added it to my CSS it changed all videos on the website from horizontal to vertical. Link to comment
tuanphan Posted August 29, 2022 Share Posted August 29, 2022 On 8/28/2022 at 1:20 PM, Faten said: can you apply this to certain videos? when i added it to my CSS it changed all videos on the website from horizontal to vertical. Target with video block id. #video-block-id .sqs-native-video .native-video-player { padding-bottom: 100% !important; } Find ID with this tool: https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
andreaball Posted October 18, 2022 Share Posted October 18, 2022 (edited) On 8/13/2022 at 6:18 AM, tuanphan said: Try adding this to Design > Custom CSS to adjust ratio .sqs-native-video .native-video-player { padding-bottom: 100% !important; } Hey, thank you for this! This worked, but the video player is wider than the video. How could I match the width? How do I apply it to only videos that I upload that are vertical, the CSS above didn't seem to do the trick. Edited October 18, 2022 by andreaball Link to comment
andreaball Posted October 18, 2022 Share Posted October 18, 2022 On 8/27/2022 at 11:20 PM, Faten said: can you apply this to certain videos? when i added it to my CSS it changed all videos on the website from horizontal to vertical. Did you ever figure out the code to change only videos that are vertical to vertical? Link to comment
SANTOZZ Posted December 5, 2022 Share Posted December 5, 2022 (edited) here you go. .video-block { .video-player { padding-bottom: 125% !important } } Edited December 5, 2022 by SANTOZZ miss spelled Link to comment
Daniellisbona Posted December 31, 2022 Share Posted December 31, 2022 (edited) am i doing something wrong? the widht is still not matching the video when it plays Edited December 31, 2022 by Daniellisbona Link to comment
Romer Posted January 5 Share Posted January 5 Hello! How can this be done for mobile? Thanks Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment