Skip to main content
Inspiring
December 15, 2017
Question

Embedding local .html files into Captivate 2017

  • December 15, 2017
  • 2 replies
  • 864 views

Originally responded to an older thread (Possible to Embed Local <iframe>? ). Moving to a new thread so hopefully it will be seen.

Hi there, I stumbled upon this thread as I am currently trying to integrate locally stored .html files into my captivate project.

I originally had them inserted into my project as .oam files, but am looking for an alternative since .oam files won't scale within Captivate and so I had to create separate .oam files for each different breakpoint of my project which really slowed it down.

I didn't realize you could insert zipped .html files, so I tried that and it works on my desktop when I preview the project, but after I published it and tested it (in Google Chrome) it doesn't show up? The stranger thing is that it shows up when I test it on an iPad and iPhone - just not on my desktop. I also noticed that with this method the .html files load rather slowly, so I thought I would try the manual way that the original poster suggested - though when I do it this way the file doesn't load (says it may have been moved or deleted)?

Any ideas as to why the zipped .html file doesn't show on desktop but shows on mobile devices?

Or to why it won't load when trying to embed the .html file and then add to the 'wor' folder? I'm not very good with code or web stuff so my apologies!

Any help would be greatly appreciated.

This topic has been closed for replies.

2 replies

KeelyMAuthor
Inspiring
December 18, 2017

Testing some more. I think it must be an issue with Chrome. I tested the published project on a web server in Internet Explorer and the embedded zip file does show up (albeit, it still takes a minute or so to load unfortunately).

When I inspect the page in Chrome on the captivate slide where the embedded zip folder is, it is giving me the error -

"Uncaught (in promise) DOMException: Unable to decode audio data chrome error"

There is no audio in my html file that I know of, so I'm not sure why this is causing an issue.

TLCMediaDesign
Inspiring
December 16, 2017

If you are testing locally in Chrome, it doesn't like iframes locally so test on a server.

If you are using a background image it also could be an issue and the web object is behind it.

KeelyMAuthor
Inspiring
December 18, 2017

Thanks for the response.

The strange thing is that when I embed the file as a zip folder and test it locally on Chrome it works. It's when I publish it to a web server that it fails to show up, but the issue is only on desktop. It shows on iPad and iPhone.

I've double-checked that it's the top layer on the slide and nothing is covering it up.

Alternatively, when I try routing to a local html file using an iFrame I've been unsuccessful to get the file to play at all. Still experimenting with this method.

It'd be really nice if embedding the zip folder would work, that would definitely be the simplest and most efficient route.