Skip to main content
Known Participant
March 28, 2018
Question

Workaround HTML5 publishing not working with cross domain/workaround javascript wrap into Lectora? Or other solution

  • March 28, 2018
  • 3 replies
  • 593 views
  • Our HTML5 published course (Either Captivate 9 or 2017)  is not working in our LMS. This occurs whether I used AICC LMS or just local publishing. A work around we are trying is to wrap the Captivate course into Lectora (which works with our LMS HTML5 output). We import the course into Lectora as an HTML Extension. This works well but the page with the HTML Extension (captivate course) doesn't advance to the next page (in Lectora) in which we need to have the user click exit which will then set the course as completed. We need the course marked as completed.

     Is there javascript to put in the Captivate course which will tell Lectora page to advance? It used to be something like trivNextPage() when using flash.

     I also am trying to post this question on Lectora.

- - - - OR - - - - -

  • is there a way to get the cross domain to work and just be able to publish Captivate HTML5 and have it work on our AICC LMS?
    This topic has been closed for replies.

    3 replies

    Participant
    November 9, 2018

    Apologies for coming late to the party. I hope you had this matter sorted already! In any event, for the first part of your question, here is something you can do:

    Prepare your Captivate content:

    • Ensure you have an exit button to be clicked at the end of your simulation.
    • Publish your Captivate project to HTML5

    Prep the page:

    • Change the page size
    • Disinherit the background
    • Disinherit all objects from the parent

    • Identify the name of the Lectora page that comes right after the Captivate simulation; ex. “Acknowledgement.html”
    • Insert the code below in the goodbye.html page and change the page’s name (in our example: Acknowledgement.html) in place of the ABC in the code below:

    <html>

    <head>

    <script>

    (function(window) {

      if (window.location !== window.top.location) {

        window.top.location = window.location;

      }

    })(this);

    window.location.href="ABC.html";

    </script>

    </head>

    <body>

    <center>

    <br><br><br><br><br>

    Thank you for exiting the content.  You may now navigate away from this content.

    </center>

    </body></html>

    RodWard
    Community Expert
    Community Expert
    March 29, 2018

    If the HTML5 content is not working in your LMS, and yet the LMS has been set up to allow the JSON mimetype (as suggested  by eLearning Pundits) then the other possibility is that your LMS player is not coded to handle HTML5.  There are a number of older version LMSs that have this issue.

    It should NOT be necessary to wrap a Captivate SCORM in the output of another e-learning authoring tool in order to get it to work with a SCORM-compliant LMS. 

    Take the Captivate SCORM zip and upload it to SCORM Cloud.  You will likely find that it works perfectly well there, which is all you usually need to do in order to find out that the root issue is the LMS, not the Captivate content.

    eLearning_Pundits
    Participating Frequently
    March 29, 2018

    I could think of only one change that was made in Cp9. check if your LMS supports JSON mime type. It was introduced in Cp9 update 1. If not ask your LMS to enable it.

    You may also try to create content from cp8 to rule out this possibility. JSON mime type was not there at that time in Captivate.

    Download Adobe Captivate