Copy link to clipboard
Copied
Hi, has anyone else had this issue?
We've installed the patch to fix the HTML5 publishing issue from PPT 2016. When we publish to HTML5, it works fine.
But if we publish to 'both' it seems that the HTML5 option is not found by the browser. Have tried this on mutliple browsers in both Windows 10 and Windows 7, and it appears in all cases that the browser is trying to load the SWF version rather than finding the HTML5 version.
Any suggestions you can offer is greatly appreciated!
Copy link to clipboard
Copied
Change var publishContentType = "SWF_AND_HTML5" to "HTML5_ONLY";
When you publishing to "both" HTML5 and Flash there is script in the presenter.libs.js file that does a browser check. You can force a presentation to load as HTML5 by changing the publishContentType var in the file to "HTML5_ONLY". There are three possible values: "SWF_AND_HTML5", "HTML5_ONLY" and "SWF_ONLY".
This is important to know as Adobe's support for the Flash Player updates will end in 2020 (from my understanding). You may want to convert all of your previously published content that is "SWF_AND_HTML5" to "HTML5_ONLY" by only changing one line of text. Republishing from Presenter as HTML5_Only can be problematic if you don't have the source files
File location: [PresentationFolder]\data\html\presenter.libs.js
If you open the file in a text editor the code you are looking for will be toward the bottom of the file at the top of the structured code. Or search for "publishContentType".
-------------- presenter.libs.js code ----------------
DESKTOP_HTML_DEBUG = false;
var publishContentType = "HTML5_ONLY";
var CONTENT_TYPE_SWF_ONLY = "SWF_ONLY";
var CONTENT_TYPE_HTML5_ONLY = "HTML5_ONLY";
var CONTENT_TYPE_SWF_AND_HTML5 = "SWF_AND_HTML5";
var html5Context = false;
var CONFIG = {
COURSETITLE : "Presentation Title",
FILENAME : "viewer.swf",
BGCOLOR : "@SKINCOLOR",
FPVERSION : "9.0.0",
COURSE_WIDTH : "100%",
COURSE_HEIGHT : "100%",
WMODE : "@WMODEVALUE",
TARGET : "PresenterContent",
RIGHTCLICKENABLED : '@IsRightClickFunctionalityRequired',
SWFOBJ_ID : 'Presenter',
SWFOBJ_NAME : 'Presenter',
REDIRECT_URL : "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash",
NOSCRIPT_MSG : "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course.",
CANT_PLAY_MSG : "This Adobe Presenter content is not supported on this device."
}