Resize an iframe responsively depending on the height of its content and the width of its container.