A responsive iframe with postMessage Objects for communication.
Based on the super-awesome-responsive-iframe-solution from closingtag.
Enhanced with the ability to send Objects via postMessage in both ways, parent -> iFrame, iFrame -> parent.
You can test it here
It's under Beer-ware License!
/* ----------------------------------------------------------------------------
"THE BEER-WARE LICENSE" (Revision 42):
As long as you retain this notice you can do whatever you want with this stuff.
If we meet some day, and you think this stuff is worth it, you can buy me a beer.
---------------------------------------------------------------------------- */