Thank you! This definitely centered the video. And I found a fix to auto-size the horizontal videos, but this fix isn’t working for vertical videos. Are there any tricks for positioning vertical videos in a content area modal?
This is the fix I’m using for the horizontal videos:
Designated in the class under customize in the content area modal settings:
.modal {
width: 80%;
margin-left: auto;
margin-right: auto;
}
In the CSS:
.video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
}
.video {
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
}
What is in the content area modal content:
<div class="video-container"><video class="video" controls poster="https://hm-com.com/wp-content/uploads/2021/05/zumba-poster.jpg" source src="https://hm-com.com/wp-content/uploads/Videos/Zumba Selfish Sizzle 1st Draft High Res.mov" type="video/mp4">
</video></div>
Thanks again,
Jen