Embedding Content with the iframe Embedder

Certain iframe objects can be embedded in WordPress using the H5P plugin. These instructions will show you how to create and embed an iframe object in H5P using an iframe embed code.

Embed your content using H5P’s iframe embedder 

  1. Before you start, make sure you have a link to your content ready.
  2. Navigate to the WordPress dashboard of your site.
  3. In the main navigation, on the left of the page, select H5P Content. The All H5P Content hub will open. H5P Content link
    • If this option is unavailable, you need to activate the H5P plugin. Need help? Reach out!
  4. From the All H5P content list, search for iframe Embedder. Once the item appears in the search, click Get (if it’s your first time) or Details and then Use.
The H5P Content Hub displaying the iframe embedder option
  1. The iframe Embedder window will open
  2. In the iframe Embedder window, fill out each field. 
The iframe embedder content type window
  • Title: A title you’ll be able to recognize later. This won’t appear on your page, but it will appear on the list of H5P content.
    • Tip: You can search the list, so choose a title that will be easy to find, like your last name and a short citation, e.g. “Smith – NY Daily News, Jan 22 1918”
  • For Width, enter “100%”
  • For Minimum width, enter “300px”
  • For Height enter “100%”
  • For Source, copy and paste the source URL.
  • Note: This is the URL address provided by the website generating the iframe. Paste only the source URL address, typically found in the middle of the iframe embed code.
  • Width: enter 100%
  • Minimum Width: enter 300px
  • Height: enter 100%
  • Source: The link to the content you need to embed
  1. Select Create in the upper right corner
  2. The page will refresh (be patient! It sometimes take awhile) 

You’ve successfully saved your article!

Add the Shortcode to the Post or Page

The last step is to add the article to your WordPress page or post.

  1. Copy the short code displayed in the block in the top corner of your new iframe
    H5P Shortcode window
  2. Navigate to the post or page where you would like to embed your article.
  3. In the Block editor workspace, add a new paragraph block wherever you’d like the article to appear on your page.
  4. Paste the shortcode into the new paragraph block.
  5. To preview your new article, select the laptop icon from the top navigation bar, then select Preview in new tab.Preview in a new tab
  6. When you are finished adding content, choose Save draft or Publish to save your work.