Hello
I have a client who shoots his Instagram videos in portrait mode and I am uploading them and using them in his project posts and he is requesting the video be displayed in portrait so there are no sidebars on the sides (landscape) is there a way to do this with custom code to have the embedded video play at 1080×1920 vs 1920×1080?
Thanks
B
Hey schwabino,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
.avia-video {
width: 31%;
position: relative;
overflow: hidden;
}
.avia-video video {
object-fit: cover;
}
this will affect all of the videos on your site, so if you only want it on a few add a custom class to the videos and then adjust the css to match.
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
Best regards,
Mike