Support #11193


Embedding StoryMaps JS

Added by Laurie Hurson about 5 years ago. Updated almost 5 years ago.

Priority name:
Category name:
WordPress (misc)
Target version:
Start date:
Due date:
% Done:


Estimated time:
Deployment actions:


Hi All,

We have a faculty member using StoryMaps JS and wants students to embed maps into posts for display on the commons site:

We have a timelineJS plugin to embed timelines (created with a tool from the same developers) but it looks like there is nothing similar for storymapsjs. Storymaps can be embedded with an iframe but it is striped out when the post is published or saved.

Can we create a workaround to embed storymaps on the commons? Maybe adding it to this help page about embedding?

Actions #1

Updated by Boone Gorges about 5 years ago

  • Status changed from New to Reporter Feedback

Laurie, could you please share the URL of a specific storymap that the user might want to embed, along with the iframe code that the storymaps website provides?

Actions #2

Updated by Laurie Hurson about 5 years ago

Hi Boone,

Students are currently submitting storymaps links in comments on a blog post (as a workaround in place of embedding). This is the professors site:

Here is a story maps link:

I asked the professor to provide the iframe link and will add to this ticket once I get it.

Actions #3

Updated by Laurie Hurson about 5 years ago

Iframe link from professor:

<iframe src="" frameborder="0" width="100%" height="800"></iframe>

Actions #4

Updated by Boone Gorges about 5 years ago

Thanks, Laurie!

Actions #5

Updated by Boone Gorges about 5 years ago

  • Assignee set to Boone Gorges
  • Target version set to 1.14.10

Sorry this got lost in the shuffle. We'll shoot for the next release.

Actions #6

Updated by Raymond Hoh about 5 years ago

  • Status changed from Reporter Feedback to Assigned
  • Assignee changed from Boone Gorges to Raymond Hoh
  • Target version changed from 1.14.10 to 1.14.11

It looks like StoryMaps JS uses oEmbed, but WordPress has very tight security surrounding <iframe> elements, which is why you are seeing nothing during previews and saves, Laurie.

I want to spend a little time to loosen these restrictions that WordPress imposes instead of introducing yet another shortcode. This will also be useful for future sites that use oEmbed with iframes, but are restrained by WordPress.

Assigning to myself.

Actions #7

Updated by Raymond Hoh almost 5 years ago

  • Category name set to WordPress (misc)
  • Status changed from Assigned to Resolved

Fixed in

Laurie, after today's maintenance release, you should be able to embed StoryMaps JS links by just copying and pasting the URL on its own line in the Classic Editor.

In the Block Editor, you'll have to paste the URL in the "Embed" block:

The URL must begin with "".

Actions #8

Updated by scott voth almost 5 years ago

Thanks Ray - I have added to documentation.


Also available in: Atom PDF