Within my course, I need to programmatically detect whether I'm running the Flash or HTML5 version.
I was able to do this pretty easily using some javascript when running the course locally or on a web server, but the same code does not work when running from within an LMS: var fileName = location.pathname.substring(location.pathname.lastIndexOf("/") + 1);
Are there any player variables exposed that will let me determine the course type that is currently running? Any other commands in js that might help with this while running within the LMS?
Glad you were able to find what you needed here Mike :) Thanks for popping in with an update and we have some great JavaScript experts around the forums for sure.
2 Replies
Nevermind, I think I found the answer here: https://community.articulate.com/discussions/articulate-storyline/remove-print-results-in-html5-and-mobile-output
Thanks James!!!
Glad you were able to find what you needed here Mike :) Thanks for popping in with an update and we have some great JavaScript experts around the forums for sure.
This discussion is closed. You can start a new discussion or contact Articulate Support.