Skip to main content
AP_AW
Inspiring
October 20, 2016
Answered

External content to be included in published course

  • October 20, 2016
  • 2 replies
  • 449 views

In my course I'm inserting a web object that uses "embed code" which is for an iframe. The source for the iframe is a local HTML file (plus some CSS and JS files).

When I HTML5 publish the course I need to manually copy the files into the correct location. Is there a way to do this automatically ie. to nominate the files I need included with the published output within the Captivate course?

This topic has been closed for replies.
Correct answer AP_AW

To answer my own question about external content, instead of doing

  Objects > Web > Embed code > ... [iframe code here]

I zipped the HTML5 file and its associated resources and then did

Objects > Web > Address > ... [selected the little folder icon and pointed the resulting dialog box to the zip file I created earlier]

2 replies

AP_AW
AP_AWAuthorCorrect answer
Inspiring
October 21, 2016

To answer my own question about external content, instead of doing

  Objects > Web > Embed code > ... [iframe code here]

I zipped the HTML5 file and its associated resources and then did

Objects > Web > Address > ... [selected the little folder icon and pointed the resulting dialog box to the zip file I created earlier]

TLCMediaDesign
Inspiring
October 21, 2016

You can also just insert the zip as an HTML5 animation, save a mouse click or two. They are both the exact same thing except when you choose HTML Animation the dialog opens immediately.

AP_AW
AP_AWAuthor
Inspiring
October 20, 2016

To give myself a handle on this I thought I'd try to decontruct a simple course - a single slide that contains one web object whose embed code is an IFRAME.

The published output contains a

  DIV

which contains an

  IFRAME

whose source contains, as well as invalid HTML5 markup, my

  IFRAME

The published course took 18 seconds to finish loading. When I manually corrected the invalid markup that Cp had generated the course loaded in under 10 seconds.

This will be harder than I expected :-(