pym

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

iframesresponsivevisualization

http://blog.apps.npr.org/pym.js/