🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Pym.js Embeds icon
aktiv gepflegt Getestet mit WP 7.1 #10 in Embeds

Pym.js Embeds

A WordPress block and shortcode for embedding iframes that are responsive horizontally and vertically, using the NPR Visuals Team's Pym.js.

Aktive Installationen100+100+ Stufe
Downloads · 30d384▲ +138.5% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score68/100Gut
Downloads aller Zeiten5.8KSince Jun 2016
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 3.0.1PHP 5.3+
Downloads · 7d58▼ -18.3% week over week
Unser Urteil

Solide Wahl

Pym.js Embeds is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 3 weeks ago, and scores 68/100 on our health check.

  • Aktiv entwickelt – letztes Update vor 3 Wochen
  • Getestet mit dem neuesten WordPress (7.1)
  • Kleine Benutzerbasis (100+ aktive Installationen)
  • Bisher sehr wenige Bewertungen

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

204161Aug 31Oct 14Nov 28
Gestern7
Täglicher Durchschnitt (1 Jahr)4
Spitzentag864. Mai 2026
Letzte 12 Monate1.5K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Pym.js Embeds stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
Embeds >100 7,267 Best Embeds plugins →
iframe >100 3,299 Best iframe plugins →
javascript >100 10,000 Best javascript plugins →
ansprechbar >100 10,000 Beste Responsive Plugins →
Shortcode >100 10,000 Beste Shortcode-Plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 3.055.8%
  • 2.024.0%
  • 1.320.2%

About Pym.js Embeds

Aus der offiziellen Readme · V3.0.0

Beschreibung

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.

Pym.js Resources from NPR

You may also want to look at NPR’s Pym.js resources:

Installation

  1. In the WordPress Dashboard go to Plugins, then click the Add Plugins button and search the WordPress Plugins Directory for Pym.js Embeds. Alternatively, you can download the zip file from this Github repo and upload it manually to your WordPress site.
  2. Aktivieren Sie das Plugin über den Bildschirm „Plugins“ in WordPress
  3. Begin embedding content!

Änderungsprotokoll

Breaking changes: Pym.js loads from the plugin's own copy by default, and the settings page is gone. Embeds keep working without edits. Developers can change the source with the pym_shortcode_pymsrc filter. Clear page and CDN caches after updating.

3.0.0

This release has breaking changes. Please read before updating.

Changes:

  • Every embed now loads Pym.js from one site-wide URL: by default, the plugin’s own copy, js/pym.js. The pymsrc shortcode attribute and block setting are ignored.
  • Removes the Pym.js Embeds Settings page and its “Default pymsrc” and “Override pymsrc” options.
  • js/pym.js is now Pym.js 1.3.2, with two local changes: each embed only acts on messages from its own iframe, and Pym.js skips any embed whose address uses a scheme it doesn’t allow, such as javascript:.
  • WordPress now removes URL schemes it doesn’t allow in links, such as javascript:, from data-pym-src attributes when users who can’t post unfiltered HTML save content.
  • Pym.js loads with the plugin’s version number, so browsers and caches fetch the new copy after an update.
  • js/pym.v1.min.js is now an exact copy of js/pym.js, so pages and graphics that link to it directly get the same updated copy. It’s no longer minified.
  • Adds the pym_shortcode_pymsrc filter, which changes the URL Pym.js loads from on every embed.
  • Deprecates pym_maybe_override_pymsrc(), which now always returns true.
  • For developers: Pymsrc_Output::add() ignores its URL argument. Pymsrc_Output‘s maybe_warning_message(), warning_message_debug() and warning_message_footer() methods are removed, and so are the settings page’s functions in INN\PymEmbeds\Settings, except option_key().

How to update:

  1. Embeds with a pymsrc value keep working, using the plugin’s copy of Pym.js. Posts don’t need editing.
  2. If you set “Default pymsrc” on the old settings page, embeds now use the plugin’s copy instead. A dashboard notice shows the URL you saved. Dismissing the notice deletes the old setting.
  3. To load Pym.js from another URL, add a pym_shortcode_pymsrc filter in a theme or plugin. A copy from elsewhere doesn’t include the plugin’s local changes.

    add_filter( 'pym_shortcode_pymsrc', function ( $url ) {
        return 'https://cdn.example.org/pym.v1.min.js';
    } );
    
  4. Pages or graphics that link straight to js/pym.v1.min.js in this plugin’s folder keep working, because that file is now a copy of js/pym.js. For new embeds, use the block or shortcode. Inside graphics, load Pym.js as NPR’s documentation describes.

  5. After updating, clear any page and CDN caches, so visitors get the updated copy of Pym.js instead of a cached older one. If a caching or script-optimization plugin lists pym.v1.min.js in its settings, add js/pym.js there too.

2.0.0

Security fix: the pymoptions shortcode/block attribute is now parsed against an allowlist of known Pym.js Parent options (xdomain, title, name, id, sandbox, parenturlparam, parenturlvalue, allowfullscreen, optionalparams, trackscroll, scrollwait) and JSON-encoded at output time. Previously the attribute was inlined verbatim into the new pym.Parent(...) call, which made it a stored XSS sink for any user who could author content. Documented usage (e.g. pymoptions=" xdomain: '*\.npr\.org' ") continues to work; arbitrary JavaScript values are dropped.

Backwards-incompatible change: the pluggable function pym_shortcode_script_footer_enqueue now receives $args['pymoptions'] as an associative array of sanitized options rather than a raw JavaScript object body string. Sites that override this pluggable function must update their override to consume the array (and JSON-encode it safely on output).

1.3.2.4

  • Now tested up to WordPress 5.4 and Gutenberg 7.8.
  • Fixes a presentational error in the Pym.js Embeds Block’s block inspector control within the editor. PR #74 for issue #72.

1.3.2.3

New features:

Other updates:

  • Adds credit to GitHub user eidietrich for PR #55 in the 1.3.2.2 release notes.
  • Fixes a ‘nwesroom’ typo. PR #66 for issue #65.

1.3.2.2

  • Plugin is now tested against WordPress 5.0 beta 3.
  • Adds support for WordPress 5.0.
  • Fixes bug where the Pym.js Embeds block did not work in WordPress 5.0. PR #58 for issue #57.
  • Adds advice for where to host graphics files. PR #55 from Github user eidietrich.

1.3.2.1

This is a major update! Please read the release notes.

Following the practice begun at plugin version 1.1.2 of having the plugin version number match the version number of the bundled copy of Pym.js, the first three numbers in this plugin’s version do not change with this release because the Pym.js version has not changed. We’ve tacked a .1 on to the end to denote this release. Please read the release notes and test your site as appropriate before upgrading in production.

We wish to thank all who helped us test the release candidate for this version, including Mike Janssen at Current.org and Alyson Hurt at the NPR Visuals Team.

New features:

  • Plugin renamed from “Pym Shortcode” to “Pym.js Embeds”.
  • Adds a “Pym.js Embed” block for use in Gutenberg. PR #34 for issue #28.
    • If a block is created using this plugin and Gutenberg, and Gutenberg is then disabled, the block will show a link to the embedded graphic.
  • Through the settings page, you can now serve Pym.js using your newsroom’s CDN or NPR’s CDN! PR #45 for issue #31.
  • Adds a settings page, available to those users with the manage_options capability, with the following options:
    • Change the default pymsrc URL. PR #45 for issue #8.
    • Override block and shortcode pymsrc URLs with the default pymsrc URL. PR #45 for issue #8.
  • Adds an informational page, available to all who can make posts, that lists the plugin’s default source URL for Pym.js. This is to make the process of building new interactives easier.
  • Shortcode now gains an explicit align="" parameter, so that WordPress’s generated alignment CSS classes can be used on embeds. By enabling this in the shortcode, the Gutenberg Block also gains support for alignment. PR #34. Prior to this release, the alignment classes could be added via the class="" parameter.
  • Script tags for embeds are no longer output by the_content(), instead being output during wp_footer() by closures hooked on the 'wp_footer' action. PR #34 for issues #33 and #35.
  • The script tag used to run new pym.Parent is now configurable. By replacing the pluggable function pym_shortcode_script_footer_enqueue() with your own function, you can now use alternate forms of embed code that may be required for PJAX sites or custom versions of Pym.js. This resolves issue #19.
  • Adds “Requires PHP: 5.3” metadata to the plugin’s readme.txt, since we’re now using PHP namespaces for some code.
  • Adds documentation for how to test the plugin:
    • tests to run before enabling the “override pymsrc” option in production
    • tests to run for site compatibility with Gutenberg

Changes:

  • The source URL for pymjs, known as the pymsrc URL, is now passed through wp_http_validate_url. PR #45 for issue #8.
  • The source URL for pym.js is no longer output by the_content(), instead being output during wp_footer by an action dedicated to the task. If different shortcodes and/or blocks on the page specify different source URLs for Pym.js, all are output (after removing duplicates), but a message is logged in the browser console. If WP_DEBUG is set, this message is also logged to the server log, with the post ID specified. PR #34 for issues #33 and #35. See https://github.com/INN/pym-shortcode/tree/master/docs#ive-set-a-different-pymsrc-option-but-now-im-seeing-a-message-in-the-console
  • docs/updating-pym.md becomes docs/maintainer-notes.md
  • Script tags for embeds are no longer output by the_content(), instead being output during wp_footer() by closures hooked on the 'wp_footer' action. PR #34 for issues #33 and #35.

Removed:

  • Script tags for embeds are no longer output by the_content(), instead being output during wp_footer() by closures hooked on the 'wp_footer' action. PR #34 for issues #33 and #35.

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Pym.js Embeds alternatives

All Embeds plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Embed Optimizer Embed Optimizer Optimizes the performance of embeds through lazy-loading, adding dns-prefetch links, and… von WordPress Leistungsteam 40K+ ★★★★★★★★★★ 3 (2) Vor 3 Monaten 65
2 Disable Embeds Disable Embeds Don’t like the enhanced embeds in WordPress 4.4? Easily disable the feature using this… Von Pascal Birchler 10K+ ★★★★★★★★★★ 4.3 (20) Vor 11 Stunden 87
3 Simple Like Page – Schnelle und datenschutzfreundliche Seiteneinbettungen Simple Like Page – Schnelle und datenschutzfreundliche Seiteneinbettungen Embed Meta™-Seiteninhalte, ohne Ihre Website zu verlangsamen oder Skripte von Drittanbietern zu laden… von topdevs.net 10K+ ★★★★★★★★★★ 4.3 (24) vor 7 Monaten 59
4 Responsive Video Embeds Responsive Video Embeds Automatically resize WordPress auto-embeds, including video and other iframes, in a… by Kevin Leary 2K+ ★★★★★★★★★★ 3.9 (21) Vor 9 Jahren 40
5 Responsive Videos by Angie Makes Responsive Videos by Angie Makes Simple responsive video plugin. Automatically determine aspect ratio. CSS only. No… by Chris Baldelomar 600+ ★★★★★★★★★★ 4.6 (10) Vor 10 Jahren 37
6 MoonClerk WP Shortcode MoonClerk WP Shortcode Accept recurring payments and one-time payments on your WordPress website by embedding… by MoonClerk 100+ ★★★★★★★★★★ 5 (1) Vor 5 Jahren 32
7 Embed Piwigo Embed Piwigo The Embed Pwigo plugin adds support for embedding photos from whitelisted Piwigo websites. by samwilson 100+ ★★★★★★★★★★ 5 (3) Vor 8 Jahren 32
8 Forward: Embed Image Links Forward: Embed Image Links Automatically turn direct image URLs into embedded images in posts, pages, bbPress content… by Forlæns 100+ ★★★★★★★★★★ 5 (3) 15 hours ago 79
9 Disable Video Download Disable Video Download Este plugin desactiva la opción "Guardar vídeo como..." en los vídeos embebidos en tu sitio… by Jairo Cortés 100+ ★★★★★★★★★★ 5 (1) Vor 4 Jahren 32
11 Linkz.ai – Automatic link previews on hover Linkz.ai – Automatic link previews on hover Automatic link previews on hover. Show videos, articles, presentations and 1000+ embeds… by Vittorio - Linkz.ai 70+ ★★★★★★★★★★ 5 (3) Vor 6 Monaten 54

Fragen und Antworten

Pym.js Embeds: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Pym.js Embeds free?

Yes. Pym.js Embeds is free to download and use from the official WordPress.org plugin directory.

Is Pym.js Embeds safe to use in 2026?

Pym.js Embeds is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 3 weeks ago, and scores 68/100 on our health check.

How many websites use Pym.js Embeds?

Pym.js Embeds is active on 100+ WordPress websites and has been downloaded 5,768 times since it launched in June 2016. It was downloaded 384 times in the last 30 days.

Does Pym.js Embeds work with WordPress 7.1?

Yes. The developer has tested Pym.js Embeds up to WordPress 7.1.5, the latest release. It requires WordPress 3.0.1 or newer.

What PHP version does Pym.js Embeds need?

Pym.js Embeds requires PHP 5.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Pym.js Embeds last updated?

The latest version, 3.0.0, was released on November 5, 2026 (3 weeks ago).

Who makes Pym.js Embeds?

Pym.js Embeds is developed and maintained by Automattic.

What are the best alternatives to Pym.js Embeds?

The most popular alternatives to Pym.js Embeds are Embed Optimizer (40K+ installs), Disable Embeds (10K+ installs) and Simple Like Page (10K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen