You didn’t place the ratio=keeper class on the video-frame element as I told you to do. Instead you put it on the div that is being replaced with an iframe?
You also didn’t absolutely place the iframe.
Here is the code again with the useless elements removed.
I did that as a trick to get you to think for yourself.
It should be:
margin: 50px auto 0;
Margin shorthand rules for one, two, three and four value declarations are:
* When **one** value is specified, it applies the same margin to **all four sides**.
* When **two** values are specified, the first margin applies to the **top and bottom**, the second to the **left and right**.
* When **three** values are specified, the first margin applies to the **top**, the second to the **left and right**, the third to the **bottom**.
* When **four** values are specified, the margins apply to the **top**, **right**, **bottom**, and **left** in that order (clockwise).
The easiest way is to wrap the container around each ratio keeper and give some top and bottom padding and then a background color… You then remove the margins from the ratio keeper and do it on the container instead.
Here’s the updated code although I haven’t checked everything but you should get the idea.