Errors publishing as HTML5/SWF

New Here ,
Dec 02, 2017 Dec 02, 2017

Copy link to clipboard

Copied

Hello,

I’m using Captivate 2017 and created a simple non-responsive project with drag and drop interactions, and buttons that prompt images, etc.

I'm using a MAC to create the course and upload it to an LMS (Bridge). When I view them, they work fine for me.

The issue that I’m having is that when I select HTML5/SWF, users are getting several errors when launching the course using Chrome (pop up blockers, unsafe scripts, https errors).

The "Not secure" message is making our IT department nervous. 

However, when I choose HTML5, nothing comes up when the course is launched. It just keeps buffering, and nothing ever happens.

The HTML5 tracker doesn’t show any unsupported slides/objects.

Any idea of what I’m doing wrong?

Thank you in advance for your help!

Lucy

Views

822

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Dec 03, 2017 Dec 03, 2017
If you are NOT publishing to SWF but only to HTML5, then the other suggestion I made would be more relevant.  You need to get your IT people to make sure the LMS web server is set up to allow the JSON mimetype.

Likes

translate

Translate

Translate
Most Valuable Participant ,
Dec 03, 2017 Dec 03, 2017

Copy link to clipboard

Copied

Since one of the versions of 9 there are issues when publishiing at the same time to SWF and HTML5 as you do, and use the mutliscreen.hrml file to launch the course. I have just accepted that situation, didn't see any improvement in 2017 and publish separately to HTML5 and to SWF (last becoming less and less used since the EOL of Flash player and browsers starting to not include Flash player by default).

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 03, 2017 Dec 03, 2017

Copy link to clipboard

Copied

The issue with the security warning is most likely because your LMS uses HTTPS and there is at least one or two HTTP links built into the HTML code of the course.  That mismatch will trigger a warning about possible security violations.

The dual publishing outlet uses an initial redirect file called multiscreen.html to work out whether the end user should get the HTM/SWF or HTML5 version of the content.  That redirect methodology will also sometimes trigger security warnings on some systems that see this as a potential security flaw.  (It's a technique sometimes used by web hackers.)

If the HTML5 content just shows a spinner, you may not have your LMS web server set up to allow the JSON mimetype.  You need to get this sorted out with your LMS administrator and your IT people.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2017 Dec 03, 2017

Copy link to clipboard

Copied

Hi Rod,

Starting with your first point of the mismatch, how would I go about finding if the course has HTTP links and changing that to HTTPS?

Or should I just move on to your last point?

Thanks,

Lucy

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 03, 2017 Dec 03, 2017

Copy link to clipboard

Copied

In SWF content there is always an HTTP link to the Adobe website page where you can download and install the latest Flash Player plugin.

In non-LMS output, this link was found in the HTM page that Captviate publishes with the SWF. That file is found here:

C:\Program Files\Adobe\Adobe Captivate 2017 x64\Templates\Publish

However, if you are publishing to SCORM output,  that link now appears in one of the JS files that gets published with Captivate called SCORM_utilties.js  And that file is found here:

C:\Program Files\Adobe\Adobe Captivate 2017 x64\Templates\Publish\LMS\Standard\SCORM\Default\js

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 03, 2017 Dec 03, 2017

Copy link to clipboard

Copied

If you are NOT publishing to SWF but only to HTML5, then the other suggestion I made would be more relevant.  You need to get your IT people to make sure the LMS web server is set up to allow the JSON mimetype.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2017 Dec 03, 2017

Copy link to clipboard

Copied

Thanks Rod, I'll get with my IT department first.

Lucy

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

Rod,

You're a Captivate rockstar! I followed your instructions on changing the links and it's working beautifully in Chrome. Thank you so much!

Lucy

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

Glad it worked out for you.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 06, 2019 Nov 06, 2019

Copy link to clipboard

Copied

It might also have to do with how Captivate is pubishing the multiscreen.html file when you publish both SWF and HTML5. I found that the file is not correctly displaying that Chrome should use the HTML5 versions. To fix it, I edited the file like this:

 

1) publish the file as SWF and HTML5

2) open the zip file and copy the multiscreen.html file to the desktop

3) edit the desktop version to include chrome as HTML5 supported by changing the following line:

 

Original

var lDevicesUserAgents = ["blackberry","android","iphone","ipad","symbian","smartphone","ios","windows ce","webos"];

 

Edited

var lDevicesUserAgents = ["blackberry","android","iphone","ipad","symbian","smartphone","ios","windows ce","webos","chrome"];

 

4) save the file and copy it back into the zip

 

Chrome should now open the HTML5 version instead of SWF and the plugin blocker will not be an issue.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines