Javascript

Hi,

I have been using Storyline 2 for a week and I have a problem when running JavaScript. I keep getting the message -

"The custom JavaScript feature on this slide has been disabled while viewing locally because your browser does not support"

I have checked my IE and it works ok with other JavaScript and my settings look as they should (I have gone thru a lot of Google posts on these settings). I am running Windows 8.1 and if I run story.html I get the message above. If I run story_html5.html I get everything running down the left hand side of the page, as if CSS was missing. My colleague, running Windows 7 on another PC, gets the same message with story.html but it works properly with story_html5.html. I have another PC running Win7 and that works fine. The message above appears identical (font and background graphic) in IE, Firefox and Chrome, which makes me think it is generated by Storyline itself and not the individual browsers.

Any assistance would be greatly appreciated.

Thanks.

6 Replies
Brian Allen

Hello Kim,

To properly test advanced stuff like javascript execution, you *really* should test your content from a web server rather than locally, as there are a number of things that you'll have problems with.

If you don't have access to a web server for testing, Articulate's TempShare is a great alternative option -http://tempshare.articulate.com/

Hope this helps,

Brian

Kim Mars

Thanks Brian. It worked.

Bit of a worry that 'advanced stuff JavaScript' doesn't work locally though. I had great plans for using JavaScript in my slides, but not if it is a pain to test them, although Tempshare was pretty painless.

Thanks again for your swift response. If you ever resolve the 'locally' issues let me know.

Kim

Brian Allen

Glad to hear it worked! The 'local' playbackissues are a result of Flash Player and browser security, and unfortunately is something that Articulate cannot control.

One workaround you may consider trying, if you really need to test locally, is to publish for CD. I haven't tried this in a while, but it may allow you to test locally with less restrictions...

Mark H

I also think this feature should not be disabled locally. I work in a corporate environment where a web server isn't always accessible during development. Blew my mind that Storyline would not function locally. I have found a work around for me but it isn't a good way to share with others. Due to the nature of the content, I'm not able to share outside of our network, so local file-sharing is the only real option.

I have node.js installed so my work around is to use the local "http-server" module to do my testing.

  1. install node.js
  2. Do the following in the command prompt...
    • npm install -g http-server
    • cd myStorylinPath
    • http-server
  3. Open a web browser and go to http://localhost:8080/