Pym.js Embeds
Embedding interactives and other iframe content in a post or page can be problematic, especially since most WordPress sites strip out script and iframe tags. Pym.js Embeds is a WordPress plugin built by INN to support embeds built using NPR's Pym.js JavaScript library. The plugin responsively resizes both the width and height of an iframe to fit smaller screen sizes on mobile devices.
After installing and activating Pym.js Embeds, you can simply use a Pym.js Embeds block like this:
Or you can use a shortcode like this:
[pym src="http://blog.apps.npr.org/pym.js/examples/table/child.html"]
Pym.js Embeds is AMP-compatible when installed alongside the WordPress AMP plugin.
For full documentation, see the Pym Shortcode docs on GitHub.