Is there any way for a storyline player to 'know' whether it is html5 or not? I'd like to branch to two separate pages, depending on whether the user is playing the file on an html5 device or not. So I need to be able to determine which version of the file is being used by the browser.
Hi, Andrew -- Sorry to see that the link you were hoping to view isn't working properly, but Michael is a very active member of the community, so I am sure he will chime in soon with the updated link.
I also wanted to stop in to mention, should you decide to use the JavaScript option mentioned, that is not something for which we'd be able to provide support, but there are lots of community members who are gurus and are happy to assist! In case you would like to see it, here is also our JS Best Practices sheet. :)
3 Replies
With Javascript, you should be able to grab your course's URL. You could then check if it equals http://mycompany.com/mycourse/story_html5.html or http://mycompany.com/mycourse/story.html (meaning the HTML5 version or the Flash version is being displayed). Here is some info on a related thread.
Thanks Michael - the link to the related thread didn't work - can you repost it?
Hi, Andrew -- Sorry to see that the link you were hoping to view isn't working properly, but Michael is a very active member of the community, so I am sure he will chime in soon with the updated link.
I also wanted to stop in to mention, should you decide to use the JavaScript option mentioned, that is not something for which we'd be able to provide support, but there are lots of community members who are gurus and are happy to assist! In case you would like to see it, here is also our JS Best Practices sheet. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.