What is this ?
hmmm… apparently it’s to make the video responsive.
1 Like
Oh, nice. Maybe it’s the “magic” CSS that is talked about in this article: Add Responsive YouTube and Vimeo Videos to Any Website - OSTraining
.video-responsive{
overflow:hidden;
padding-bottom:56.25%;
position:relative;
height:0;
}
.video-responsive iframe{
left:0;
top:0;
height:100%;
width:100%;
position:absolute;
}
2 Likes
This topic was automatically closed after 60 days. New replies are no longer allowed.