Pym Shortcode

Description

Pym Shortcode will resize an iframe responsively depending on the height of its content and the width of its container. The plugin uses Pym.js, developed by the NPR Visuals Team, to allow embedded content in WordPress posts and pages using a simple shortcode.

Pym Resources from NPR

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

FAQ

For answers to frequently asked questions, see this plugin’s documentation on GitHub

Changelog

1.2.0.2

  • Fix encoding error on pym.v1.min.js, [thanks to lchheng](https://github.com/INN/pym-shortcode/pull/18

1.2.0.1

1.2.0

  • Update to pym.js version 1.2.0: https://github.com/nprapps/pym.js/releases/tag/v1.2.0 (Changelog at https://github.com/nprapps/pym.js/blob/v1.2.0/CHANGELOG )
  • Fixes a bug where the pymsrc attribute might have been ignored, for real this time. Thanks, lchheng!

1.1.2

  • Update to pym.js version 1.1.2: https://github.com/nprapps/pym.js/releases/tag/v1.1.2
  • Switch the new default url of Pym.js in this plugin to js/pym.v1.min.js, leaving the existing js/pym.js where it is.
  • Provide additional notes in the documentation for maintainers on updating Pym.js in this plugin
  • Fixes a bug where the pymsrc attribute might have been ignored
  • Fixes and corrections to documentation.

1.0

  • First release of the plugin

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code