External Javascript call in mobile player

Nov 27, 2014

I have a project in which I need to call to external javascript functions using the "javascript call" trigger. In order to achieve this I include a reference to the .js file in the story.html and story_html5.html.

Like this: <script src="js/desafioCasa.js" type="text/javascript"></script>

If I access the publication in a browser this works fine, but inside the articulate player for android or Ipad this won´t work. I imagine that the problem is due to the javascript functions I call inside the triggers are not found and I have to add the reference to the external js file somewhere else.... Any help is appreciated.

I tried to duplicate the js file inside the "mobile" folder and include the reference to this file inside the "mobileinstall.html" but without success.

Thanks in advance!

2 Replies
Bjarne O

As Michael says, the mobile player, does not support JS. Nor scorm. Was a bit of a wakeup call for me as well. Our approach is now to develop entirely for HTML5. That causes some limitations, but also makes it a bit easier to distribute courses - as the user won't need to install additional software - and - for instance, opening a url, only adds a new tab to the users browser - it does not force you to switch to a different application.

Be aware of the limitations of storylines HTML5 support, and test often.

http://en-uk.articulate.com/support/storyline/comparing-storylines-flash-html5-and-articulate-mobile-player-output

 

This discussion is closed. You can start a new discussion or contact Articulate Support.