How to tell package publishing settings?
Nov 27, 2018
We are working on removing all Flash-y content (.swf and .flv) files from our LMS. We have a process where developers (decentralized hundreds of internal folks and external developers) upload their zip packages through a website. We've created some javascript that "sniffs" the contents of the package and reports if there are any Flash-y files.
We've discovered that in certain cases even publishing to HTML5 only won't guarantee that there aren't .swf files. (https://community.articulate.com/discussions/articulate-storyline/storyline-360-html5-only-package-contains-swf).
I'm wondering if there is a way that I can tell if the end user published to HTML5 only or if they did HTML5 with SWF fallback? I see in the meta.xml file that there is information about publish setting, but this information doesn't seem to be included.
From a zip package, how can a clever javascript program figure out the user's publishing settings?
3 Replies
Hi R,
I cannot speak to a JavaScript program, but the files will be different in the output.
The left image is Html5 only and the right includes the Flash fallback with the additional files. Same course:
Hope that helps your investigation.
So if a package is html5 only there won't be a story.swf nor a story_flash.html, those will only show up if there is some reliance on Flash in the publish?
If I can count on that then perhaps this will work.
That's correct.
Good luck with your program. I hope it helps you as we investigate the other issue with the swf files.
This discussion is closed. You can start a new discussion or contact Articulate Support.