Graham
filmbokep The iframe is responsive but they seem to have a maximum size for the player within the iframe it works fine with youtube
You also had it double nested so I got rid of the outer one
filmbokep
filmbokep but the video still not responsive, how to solve it graham..?
filmbokep
Graham i already add this in my css
/* This element defines the size the iframe will take.
In this example we want to have a ratio of 25:14 */
.aspect-ratio {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56%; /* The height of the item will now be 56% of the width. */
}
/* Adjust the iframe so it's rendered in the outer-width and outer-height of it's parent */
.aspect-ratio iframe {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}Copy code
Graham
filmbokep you added the class but wheres the actual css
filmbokep
hello graham, i want to make a video responsive. i already copy a script from you in this forum. but its not working in my site. can you help me for that. this is the link