* 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
2017-11-25 07:23 (edited 2017-11-25 08:10 by Graham ) · (1)
* Graham * filmbokep you added the class but wheres the actual css
2017-11-25 08:03 · (0)
* 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
2017-11-25 08:31 · (0)
* filmbokep * filmbokep but the video still not responsive, how to solve it graham..?
2017-11-25 08:50 · (0)
* 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
2017-11-25 09:44 · (0)

Online: Guests: 1