Explore the community Forums Lectora Lectora Questions & Answers Importing Captivate files published as HTML5 into Lectora

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #438849 Score: 0
    Profile photo of ssoni
    ssoni
    Member
    beginner
    intermediate
    curious george
    friend finder
    wise owl
    @ssoni

    Hi guys,

    I have been using Lectora and Captivate for years. Typically, I would simply publish the Captivate as a swf and import that into Lectora. However, we are now moving away from swf so our courses can be viewed on tablets. I now have Captivate 2019, which allows you to publish to HTML5. So, how do I import the HTML5 files into Lectora?? I am using Lectora Inspire 16.

    Any help will be greatly appreciated.

    Thanks!

    #438856 Score: 0
    Profile photo of Laura Silver
    Laura Silver
    Moderator
    junior moderator
    verified member
    beginner
    intermediate
    contributor
    wise owl
    friend finder
    advanced
    curious george
    Group Member
    25 pts
    @lsilver

    Hi @ssoni, You can do this in Lectora by adding a Web Window, selecting “Local web-based content” as your Window Source, and then choosing the correct file. Be sure to select “Include all files and subfolders” so you bring in all related files as well.

    Attachments:
    #438932 Score: 0
    Profile photo of ssoni
    ssoni
    Member
    beginner
    intermediate
    curious george
    friend finder
    wise owl
    @ssoni

    Hi Laura,

    Thanks for your response. I tried your way and it works however I have one problem.

    I have disabled the next button in Lectora and added JavaScript on the last slide of captivate to send command to Lectora to enable the Next button but it doesn’t work. Do you have any idea? Please see attachments.

    Thanks for your help.

     

     

    #438943 Score: 2
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    346 pts
    @timk

    When you display the captivate output in a web window, it will be in an iframe after publication from Lectora. This means your code needs to adress the main page, i.e. the “parent” of the iframe:

    parent.button87.actionShow();

    I hope it works, but I was unable to test.

    This post has received 2 votes up.
    #438972 Score: 0
    Profile photo of ssoni
    ssoni
    Member
    beginner
    intermediate
    curious george
    friend finder
    wise owl
    @ssoni

    Hi Tim,

    Thanks for your response. I tried your recommendation but doesn’t work.

    Do you any other ideas which might work?

    Cheers

    #439013 Score: 1
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    346 pts
    @timk

    When you publish with “Seamless play” the way through all the iframes is a little longer:

    parent.document.getElementsByTagName("iframe")[0].contentWindow.button87.actionShow();

    This worked with a Web Window and Seamless play, the code in the other post worked without Seamless play.

    There’s a much better way to achieve it. Instead of making Captivate run a specific action, make it run an action group. Through this, you’re much more flexible with what happens when the Captivate output is finished. Then you can use normal Lectora actions to both set the variable and show the button. If you had to change one of them or both or add more actions, you wouldn’t have to edit the captivate file.

    Put the two actions into a group on the main page. Make Captivate run:

    parent.runGroup_og1234();

    This code worked both Seamless and not. Replace og1234 with the html name of the group.

    I attached a sample with both solutions.

    If this doesn’t work, I fear I can’t help because I don’t have too much experience with Captivate or the way its output is structured.

    This post has received 1 vote up.
    Attachments:
    1. Web-Window.zip
    #439086 Score: 0
    Profile photo of ssoni
    ssoni
    Member
    beginner
    intermediate
    curious george
    friend finder
    wise owl
    @ssoni

    Hi Tim,

    You are a champion. I used the two actions in group and the run the group from the captivate and it works like wonder.

    Thanks so much mate.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.