GrassBlade xAPI Companion plugin allows you to embed xAPI content (includes HTML5, SCORM, 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:
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.
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.
Search for GrassBlade xAPI Companion blocks and select xAPI Content Block.
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 xAPI Content Details section.
You can copy/paste the same code to any page to show that particular content.
Note: Completion tracking doesn’t work if you use shortcode. For completion tracking use xAPI Content Block or Metabox to add content.
You can use any of these options to add and play HTML5, xAPI, 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.