A WordPress block and shortcode for embedding iframes that are responsive horizontally and vertically, using the NPR Visuals Team's Pym.js.
As of April 2026, Pym.js Embeds is a WordPress Embeds plugin with 90 active installations and a 0/5 rating0. It has been downloaded 4.5K+ times in total. Requires WordPress 3.0.1+ and PHP 5.3+. Available on WordPress.org since 2016. Last updated 6 years ago — may have compatibility concerns. Top alternative: Embed Optimizer.
Pym.js Embeds provides shortcode and Gutenberg block wrappers for embedding responsive iframes using Pym.js, developed by the NPR Visuals Team. Embedded content resizes vertically to match its container’s width.
AMP compatibility is provided by the official AMP plugin.
You may also want to look at NPR’s Pym.js resources:
| WordPress | 3.0.1+ requiredTested up to 5.4.19 |
| PHP | 5.3+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.