Using uploaded content on Post, Lesson, or Quiz page

Estimated reading time: 1 min

GrassBlade xAPI Companion plugin allows you to embed xAPI content (includes HTML5, xAPI, SCORM, cmi5, Video, and H5P Content) on any WordPress page, post, LMS lesson, topic, or quiz.

You can use the following options to add content on any page:

  1. Using the same page
  2. Adding via xAPI Content Block
  3. Adding via Metabox
  4. Adding via Shortcode
Using a Page Builder plugin? refer to Page Builders + GrassBlade xAPI Companion

Using the same page

While uploading the content via xAPI Content > Add New, there is a checkbox called: I want to show the content on this page.

When you check this box, the current page will be used to show the content. However, you can still add the same content on other pages.

Preview showing 404 Error?
It is most likely a permalink issue. To fix this, go to WordPress Dashboard > Settings > Permalink > click the update button to automatically refresh the permalink structure.

If you want to change gb_xapi_content showing in content page URL. You can change it from GrassBlade Settings> Content Settings > URL Slug

This way you can show content on the same page, where you uploaded xAPI Content.

Adding via xAPI Content Block

In GrassBlade xAPI Companion v2.0, we have added support for Gutenberg blocks and added 3 new blocks.

Step 1:
Search for GrassBlade xAPI Companion blocks and select xAPI Content Block.

Use the same xAPI Content block for HTML5, SCORM, Video and H5P Content selection too.

Step 2:
Now select your xAPI Content from settings panel on the right.

Adding via Metabox

xAPI Metabox feature is present for a long time, you can use it to add xAPI Content on any page.

a). In Gutenberg Editor

Step 1: Go to Document > xAPI Content meta box (present on the right side)
Step 2: Select xAPI Content from Add to Page: dropdown.

b). In Classic Editor

You can find the same xAPI Content Metabox on the top of the right-side panel.

Adding via Shortcode

After uploading xAPI Content, on the same page you can see a shortcode in the xAPI Content Details section.

Copy/paste the shortcode to any page to show that particular content on any page.

Note: Completion tracking will not work if you use a shortcode. For completion tracking use xAPI Content Block or Metabox to add content.

Using a Page Builder plugin? refer to Page Builders + GrassBlade xAPI Companion

You can use any of these options to add and play HTML5, xAPI, cmi5, SCORM, Video, and H5P content on any page or post. If you’re facing any issues while uploading and adding content, feel free to contact us.

Was this article helpful?
Dislike 0 15 of 15 found this article helpful.

2 thoughts on “Using uploaded content on Post, Lesson, or Quiz page”

  1. This is all about xAPI but nothing at all about SCORM – I don’t see a SCORM choice for upload – I don’t see an HTML 5 choice for upload yet I was sold on the fact that Grassblade can handle both formats.

    1. Hi Andrew,

      Both HTML5 and SCORM packages are supported, and you upload them the same way. Feel free to generate a support ticket if you face any issue.

      I would also love to know why you feel SCORM and HTML5 are not supported.


Leave a Reply

Your email address will not be published. Required fields are marked *