-
AuthorPosts
-
June 16, 2014 at 5:00 pm #57048
Hello. Im using the shortcode Video Embedd.
I have a video file (hosted on vimeo) with the aspect ratio 2,35:1
Now if I choose any of the presented aspect ratios I get black bars around my video.How can I change the aspect ratio?
I tried Using the classic editor by just replacing the text “16:9” with “2,35:1” but It didnt work.Please help me.
Thank youJune 17, 2014 at 4:03 am #57210This is the site: LINK
Please see if there is a solution for this small, but annoying problem. Thank youJune 18, 2014 at 6:02 am #57743Hey Kiljan,
Thanks for writing in!
To fix that, add a class to the video container(the x-column) where your video will be(and make all containers with video based on that ratio with that same class) ex:(pano-video).
Then add the following css code snippet to the Customizer > Custom > CSS
/* Make sure to change 'pano-video' with the class you added to the container */ .pano-video .x-responsive-video-inner{ padding-bottom: 42.25%!important; }
This should fix the black bars.
Hope that helps, cheers.
June 18, 2014 at 5:04 pm #58044Thanx for the excellent support.
June 19, 2014 at 11:54 am #58426You’re most welcome! Take care 🙂
January 30, 2015 at 8:12 am #195216This has stopped working with the latest version of Visual Composer. Please help if you can.
ThanksJanuary 31, 2015 at 2:36 am #195791Hi there,
Please try this :
.pano-video .x-video-inner{ padding-bottom: 42.25%!important; }
Hope it helps.
January 31, 2015 at 11:28 am #196041Perfect! Thank you very much!!
For the future, please add 1:2.35 which is a cinema standard to. Would be good I think.
Thanks again.January 31, 2015 at 9:44 pm #196276You’re welcome Kiljan. I’ll take note of that as feature request and we might implement it in a future release.
July 26, 2015 at 5:06 pm #341084Would also be very helpful to include portrait mode. I am embedding lots of video screen shots from iphone app– the same as apple does on the itunes store. Going to try to use the above code to sort this out.
July 26, 2015 at 8:22 pm #341176Just FYI for portrait mode I used this css, I know it’s sort of a mess but it seems to be working after lots of firebug:
.x-video .x-video-inner {
height: 667px;
width: 375px;
overflow: hidden;
position: relative;
}July 26, 2015 at 10:21 pm #341263Hello There,
Thanks for updating this thread! We certainly appreciate the feedback. This is something we can add to our list of feature requests. This way it can be taken into consideration for future development. All of these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive.
Thanks!
March 19, 2016 at 4:33 pm #844599Hello,
I have a video hosted on Vimeo with an aspect ratio of 3:4.
How can I change the aspect ratio of the frame to be 3:4?Thanks
March 20, 2016 at 5:22 am #844978Hey there,
We’re sorry but portrait aspect ration is not supported as most videos are in landscape. You can still embed the video but there would be black bars in the left and right side though.
Thanks.
March 22, 2016 at 5:05 pm #848631Thanks for the support,
Is there anyway to display a portrait video without black bars on the sides?
Can you provide me with a code snippet to achieve this?
Is there a third party plugin for portrait videos? -
AuthorPosts